diff --git a/src/utils/debug.c b/src/utils/debug.c index 7e00990..8e1e0c1 100644 --- a/src/utils/debug.c +++ b/src/utils/debug.c @@ -46,7 +46,7 @@ void _cws_log_error_internal(const char *file, int line, const char *fmt, ...) { va_end(args); } -#ifdef DEVELOPER +#ifdef EVELOPER void _cws_log_debug_internal(const char *file, int line, const char *fmt, ...) { va_list args; fprintf(stdout, _DEBUG " [%s:%d] ", file, line); @@ -56,7 +56,7 @@ void _cws_log_debug_internal(const char *file, int line, const char *fmt, ...) { fprintf(stdout, "\n"); va_start(args, fmt); - vsyslog(LOG_DEBUG, fmt, args); + syslog(LOG_DEBUG, fmt, args); va_end(args); } #else