log_error(): Treat LOG_LEVEL_FATAL as fatal even when --stfu is being used
[privoxy.git] / errlog.c
index e9aba27..a9cfb8c 100644 (file)
--- a/errlog.c
+++ b/errlog.c
@@ -683,6 +683,10 @@ void log_error(int loglevel, const char *fmt, ...)
 #ifdef FUZZ
       if (debug == LOG_LEVEL_STFU)
       {
+         if (loglevel == LOG_LEVEL_FATAL)
+         {
+            exit(1);
+         }
          return;
       }
 #endif