dtmail: Resolve 50 compiler warnings.

This commit is contained in:
Peter Howkins
2015-01-06 15:07:55 +00:00
parent 3fab71345b
commit 0a0e1eebf5
15 changed files with 58 additions and 51 deletions

View File

@@ -606,7 +606,7 @@ DtMailEnv::logError(DtMailBoolean criticalError, const char *format, ...) const
va_end(var_args);
syslog(criticalError == DTM_TRUE ? LOG_CRIT|LOG_ERR : LOG_ERR,
messageBuffer);
"%s", messageBuffer);
_DtSimpleError("libDtMail", criticalError == DTM_TRUE ? DtError : DtWarning,
NULL, messageBuffer);