fix(debug): EVELOPER instead of DEVELOPER

This commit is contained in:
2026-02-10 00:34:15 +01:00
parent 406fe36977
commit 52f80fdbd7

View File

@@ -46,7 +46,7 @@ void _cws_log_error_internal(const char *file, int line, const char *fmt, ...) {
va_end(args); va_end(args);
} }
#ifdef DEVELOPER #ifdef EVELOPER
void _cws_log_debug_internal(const char *file, int line, const char *fmt, ...) { void _cws_log_debug_internal(const char *file, int line, const char *fmt, ...) {
va_list args; va_list args;
fprintf(stdout, _DEBUG " [%s:%d] ", file, line); 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"); fprintf(stdout, "\n");
va_start(args, fmt); va_start(args, fmt);
vsyslog(LOG_DEBUG, fmt, args); syslog(LOG_DEBUG, fmt, args);
va_end(args); va_end(args);
} }
#else #else