From 3c4a6506a557e839ae64994174db349575fe3117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Tue, 17 Apr 2018 12:40:47 +0200 Subject: [PATCH] * src/log.c: Don't check_redirect_output() when fuzzing --- src/log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/log.c b/src/log.c index 05b58ceb..d879dffe 100644 --- a/src/log.c +++ b/src/log.c @@ -599,7 +599,9 @@ debug_logprintf (const char *fmt, ...) struct logvprintf_state lpstate; bool done; +#ifndef TESTING check_redirect_output (); +#endif if (inhibit_logging) return;