diff options
Diffstat (limited to 'libcsoap')
-rw-r--r-- | libcsoap/soap-logging.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libcsoap/soap-logging.c b/libcsoap/soap-logging.c index 009f75d..07e37ca 100644 --- a/libcsoap/soap-logging.c +++ b/libcsoap/soap-logging.c @@ -107,26 +107,26 @@ _soap_log_printf(soap_loglevel_t level, const char *format, ...) vfprintf(stdout, format, ap); #ifdef HAVE_SYSLOG_H - if (_nanohttp_logtype & SOAP_LOG_SYSLOG) + if (_soap_logtype & SOAP_LOG_SYSLOG) { int syslog_level; switch (level) { - case SOAP_LOGLEVEL_VERBOSE: - case SOAP_LOGLEVEL_DEBUG: + case SOAP_LOG_VERBOSE: + case SOAP_LOG_DEBUG: syslog_level = LOG_DEBUG; break; - case SOAP_LOGLEVEL_INFO: + case SOAP_LOG_INFO: syslog_level = LOG_INFO; break; - case SOAP_LOGLEVEL_WARN: + case SOAP_LOG_WARN: syslog_level = LOG_WARNING; break; - case SOAP_LOGLEVEL_ERROR: + case SOAP_LOG_ERROR: syslog_level = LOG_ERR; break; - case SOAP_LOGLEVEL_FATAL: + case SOAP_LOG_FATAL: syslog_level = LOG_CRIT; break; } |