--------------------- PatchSet 453 Date: 2000/07/16 12:53:12 Author: hno Branch: hno-devel Tag: (none) Log: FATAL messages is at debug level 0, and should thus be printed to stderr in -d0. Members: src/tools.c:1.1.1.3.6.1.2.4->1.1.1.3.6.1.2.5 Index: squid/src/tools.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/tools.c,v retrieving revision 1.1.1.3.6.1.2.4 retrieving revision 1.1.1.3.6.1.2.5 diff -u -r1.1.1.3.6.1.2.4 -r1.1.1.3.6.1.2.5 --- squid/src/tools.c 15 Jul 2000 20:52:06 -0000 1.1.1.3.6.1.2.4 +++ squid/src/tools.c 16 Jul 2000 12:53:12 -0000 1.1.1.3.6.1.2.5 @@ -1,6 +1,6 @@ /* - * $Id: tools.c,v 1.1.1.3.6.1.2.4 2000/07/15 20:52:06 hno Exp $ + * $Id: tools.c,v 1.1.1.3.6.1.2.5 2000/07/16 12:53:12 hno Exp $ * * DEBUG: section 21 Misc Functions * AUTHOR: Harvest Derived @@ -316,7 +316,7 @@ syslog(LOG_ALERT, "%s", message); #endif fprintf(debug_log, "FATAL: %s\n", message); - if (opt_debug_stderr > 0 && debug_log != stderr) + if (opt_debug_stderr >= 0 && debug_log != stderr) fprintf(stderr, "FATAL: %s\n", message); fprintf(debug_log, "Squid Cache (Version %s): Terminated abnormally.\n", version_string);