mirror of
https://github.com/simon987/sist2.git
synced 2025-12-11 14:38:54 +00:00
log fix #73
This commit is contained in:
@@ -75,7 +75,7 @@ void _logf(const char *filepath, int level, char *format, ...) {
|
||||
|
||||
va_start(args, format);
|
||||
if (level == LEVEL_FATAL) {
|
||||
sist_logf(filepath, level, format, args);
|
||||
vsist_logf(filepath, level, format, args);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ void _logf(const char *filepath, int level, char *format, ...) {
|
||||
vsist_logf(filepath, level, format, args);
|
||||
}
|
||||
} else {
|
||||
sist_logf(filepath, level, format, args);
|
||||
vsist_logf(filepath, level, format, args);
|
||||
}
|
||||
}
|
||||
va_end(args);
|
||||
|
||||
Reference in New Issue
Block a user