[Privoxy-commits] [privoxy] 12/46: log_error(): Treat LOG_LEVEL_FATAL as fatal even when --stfu is being used

User Git git at git.privoxy.org
Sun Feb 21 15:10:34 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit c78a3a27b574d049a155542724134f01648d7aac
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Feb 8 15:58:03 2021 +0100

    log_error(): Treat LOG_LEVEL_FATAL as fatal even when --stfu is being used
    
    Reported by: Joshua Rogers (Opera).
---
 errlog.c | 4 ++++
 1 file changed, 4 insertions(+)

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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list