summaryrefslogtreecommitdiffstats
path: root/nanohttp
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp')
-rw-r--r--nanohttp/nanohttp-logging.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nanohttp/nanohttp-logging.c b/nanohttp/nanohttp-logging.c
index 45fc01a..ef4151a 100644
--- a/nanohttp/nanohttp-logging.c
+++ b/nanohttp/nanohttp-logging.c
@@ -134,20 +134,20 @@ _nanohttp_log_printf(nanohttp_loglevel_t level, const char *format, ...)
switch (level)
{
- case NANOHTTP_LOGLEVEL_VERBOSE:
- case NANOHTTP_LOGLEVEL_DEBUG:
+ case NANOHTTP_LOG_VERBOSE:
+ case NANOHTTP_LOG_DEBUG:
syslog_level = LOG_DEBUG;
break;
- case NANOHTTP_LOGLEVEL_INFO:
+ case NANOHTTP_LOG_INFO:
syslog_level = LOG_INFO;
break;
- case NANOHTTP_LOGLEVEL_WARN:
+ case NANOHTTP_LOG_WARN:
syslog_level = LOG_WARNING;
break;
- case NANOHTTP_LOGLEVEL_ERROR:
+ case NANOHTTP_LOG_ERROR:
syslog_level = LOG_ERR;
break;
- case NANOHTTP_LOGLEVEL_FATAL:
+ case NANOHTTP_LOG_FATAL:
syslog_level = LOG_CRIT;
break;
}