From: Fabian Keil Date: Sun, 27 Apr 2008 16:50:46 +0000 (+0000) Subject: Remove an incorrect assertion. The value of debug may change if X-Git-Tag: v_3_0_9~131 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=8300339ab5cd4ebccb7a0124defcc8380829827f;ds=sidebyside Remove an incorrect assertion. The value of debug may change if the configuration is reloaded in another thread. While we could cache the initial value, the assertion doesn't seem worth it. --- diff --git a/errlog.c b/errlog.c index 12f542ec..370c6a41 100644 --- a/errlog.c +++ b/errlog.c @@ -1,4 +1,4 @@ -const char errlog_rcs[] = "$Id: errlog.c,v 1.66 2008/01/31 15:38:14 fabiankeil Exp $"; +const char errlog_rcs[] = "$Id: errlog.c,v 1.67 2008/03/27 18:27:23 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.c,v $ @@ -33,6 +33,9 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.66 2008/01/31 15:38:14 fabiankeil E * * Revisions : * $Log: errlog.c,v $ + * Revision 1.67 2008/03/27 18:27:23 fabiankeil + * Remove kill-popups action. + * * Revision 1.66 2008/01/31 15:38:14 fabiankeil * - Make the logfp assertion more strict. As of 1.63, the "||" could * have been an "&&", which means we can use two separate assertions @@ -1163,7 +1166,6 @@ void log_error(int loglevel, const char *fmt, ...) loglevel = LOG_LEVEL_FATAL; } - assert(loglevel & debug); #ifndef _WIN32 /* * On Windows this is acceptable in case