[Privoxy-commits] [privoxy] branch master updated: log_error() Win32: Only call LogShowActivity() for debug level LOG_LEVEL_REQUEST
User Git
git at git.privoxy.org
Thu Jun 15 12:37:24 CEST 2023
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
The following commit(s) were added to refs/heads/master by this push:
new 70e904f6 log_error() Win32: Only call LogShowActivity() for debug level LOG_LEVEL_REQUEST
70e904f6 is described below
commit 70e904f66cfd8198f4e7325d0fb06405dd2f5038
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Wed May 31 12:29:18 2023 +0200
log_error() Win32: Only call LogShowActivity() for debug level LOG_LEVEL_REQUEST
As of b94bbe62a950, which was part of Privoxy 3.0.29,
LOG_LEVEL_REQUEST is used for all requests including
crunched ones.
Previously LogShowActivity() was called twice for crunched
requests, (presumably) resulting in an aborted animation.
---
errlog.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/errlog.c b/errlog.c
index e1d99259..27bb4e0c 100644
--- a/errlog.c
+++ b/errlog.c
@@ -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();
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list