fix output problem

This commit is contained in:
Alex Groce
2018-07-28 04:48:09 -07:00
parent dbc2adc360
commit a55402fe8b
2 changed files with 2 additions and 6 deletions

View File

@@ -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);
}
}

View File

@@ -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);