From 46dcef7ea474f37fae003888b4079b8d450fc936 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 6 Feb 2009 17:51:38 +0000 Subject: [PATCH] Be prepared if I break the log module initialization again. --- errlog.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/errlog.c b/errlog.c index 22f5ae4a..6178d4bf 100644 --- a/errlog.c +++ b/errlog.c @@ -1,4 +1,4 @@ -const char errlog_rcs[] = "$Id: errlog.c,v 1.83 2008/12/04 18:14:32 fabiankeil Exp $"; +const char errlog_rcs[] = "$Id: errlog.c,v 1.84 2008/12/14 15:46:22 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.c,v $ @@ -33,6 +33,9 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.83 2008/12/04 18:14:32 fabiankeil E * * Revisions : * $Log: errlog.c,v $ + * Revision 1.84 2008/12/14 15:46:22 fabiankeil + * Give crunched requests their own log level. + * * Revision 1.83 2008/12/04 18:14:32 fabiankeil * Fix some cparser warnings. * @@ -1025,6 +1028,11 @@ void log_error(int loglevel, const char *fmt, ...) #endif ) { + if (loglevel == LOG_LEVEL_FATAL) + { + fatal_error("Fatal error. You're not supposed to" + "see this message. Please file a bug report."); + } return; } -- 2.39.2