mirror of
https://github.com/simon987/sist2.git
synced 2025-04-19 18:26:43 +00:00
log fix #73
This commit is contained in:
parent
7b9fa4cc0a
commit
db96c95ac7
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VCPKG_ROOT="/vcpkg"
|
||||
VCPKG_ROOT="/usr/share/vcpkg"
|
||||
|
||||
rm *.gz
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user