correct check for INFO

This commit is contained in:
Alex Groce 2018-07-28 12:35:19 -07:00
parent 6418a5cd16
commit 1343cecfc2

View File

@ -171,7 +171,7 @@ int vfprintf(FILE *file, const char *format, va_list args) {
DeepState_LogVFormat(DeepState_LogInfo, format, args);
} else {
if (!DeepState_UsingLibFuzzer) {
if (strstr(format, "INFO: ") == 0) {
if (strstr(format, "INFO: ") == format) {
// Assume such a string to an nonstd target is libFuzzer
DeepState_LogVFormat(DeepState_LogFuzzer, format, args);
} else {