X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=blobdiff_plain;f=errlog.c;h=27bb4e0c6ab9372fd6bb9c2a7a1ac2ab17724844;hb=5415008eafe007b95daa7801ff53bcf13ae52a6a;hp=e9aba2778e3413e3d41a2bfcf3ca6e3e288fd243;hpb=d15d72235206a3c2925a4f96471b443fc51d90bc;p=privoxy.git diff --git a/errlog.c b/errlog.c index e9aba277..27bb4e0c 100644 --- a/errlog.c +++ b/errlog.c @@ -583,7 +583,7 @@ static const char *get_log_level_string(int loglevel) case LOG_LEVEL_CONNECT: log_level_string = "Connect"; break; - case LOG_LEVEL_TAGGING: + case LOG_LEVEL_TAGGING: log_level_string = "Tagging"; break; case LOG_LEVEL_WRITING: @@ -659,11 +659,11 @@ void log_error(int loglevel, const char *fmt, ...) #if defined(_WIN32) && !defined(_WIN_CONSOLE) /* - * Irrespective of debug setting, a GET/POST/CONNECT makes - * the taskbar icon animate. (There is an option to disable - * this but checking that is handled inside LogShowActivity()). + * Irrespective of debug setting, a request makes the taskbar icon + * animate. (There is an option to disable this but checking that is + * handled inside LogShowActivity()). */ - if ((loglevel == LOG_LEVEL_REQUEST) || (loglevel == LOG_LEVEL_CRUNCH)) + if (loglevel == LOG_LEVEL_REQUEST) { LogShowActivity(); } @@ -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