fix output problem
This commit is contained in:
@@ -155,9 +155,9 @@ int vfprintf(FILE *file, const char *format, va_list args) {
|
||||
DeepState_LogStream(DeepState_LogWarning);
|
||||
DeepState_Log(DeepState_LogWarning,
|
||||
"vfprintf with non-stdout/stderr stream follows:");
|
||||
DeepState_LogVFormat(DeepState_LogInfo, format, args);
|
||||
DeepState_LogVFormat(DeepState_LogInfo, format, args);
|
||||
} else {
|
||||
printf(format, args);
|
||||
DeepState_LogVFormat(DeepState_LogInfo, format, args);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -563,10 +563,6 @@ static char DeepState_Format[DeepState_StreamSize + 1];
|
||||
* into a */
|
||||
void DeepState_StreamVFormat(enum DeepState_LogLevel level,
|
||||
const char *format_, va_list args) {
|
||||
if (DeepState_UsingLibFuzzer && (level < DeepState_LogCritical)) {
|
||||
return; // just silence anything less than a critical
|
||||
}
|
||||
|
||||
struct DeepState_VarArgs va;
|
||||
va_copy(va.args, args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user