From: Fabian Keil Date: Mon, 8 Feb 2021 14:58:03 +0000 (+0100) Subject: log_error(): Treat LOG_LEVEL_FATAL as fatal even when --stfu is being used X-Git-Tag: v_3_0_32~69 X-Git-Url: http://www.privoxy.org/gitweb/contact.html?a=commitdiff_plain;h=c78a3a27b574d049a155542724134f01648d7aac;hp=5d01d3aa49c20833f33256d21a90e400cd69023f;p=privoxy.git log_error(): Treat LOG_LEVEL_FATAL as fatal even when --stfu is being used Reported by: Joshua Rogers (Opera). --- diff --git a/errlog.c b/errlog.c index e9aba277..a9cfb8ca 100644 --- 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