projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e2c6db
)
Be prepared if I break the log module initialization again.
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 6 Feb 2009 17:51:38 +0000
(17:51 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 6 Feb 2009 17:51:38 +0000
(17:51 +0000)
errlog.c
patch
|
blob
|
history
diff --git
a/errlog.c
b/errlog.c
index
22f5ae4
..
6178d4b
100644
(file)
--- a/
errlog.c
+++ b/
errlog.c
@@
-1,4
+1,4
@@
-const char errlog_rcs[] = "$Id: errlog.c,v 1.8
3 2008/12/04 18:14:3
2 fabiankeil Exp $";
+const char errlog_rcs[] = "$Id: errlog.c,v 1.8
4 2008/12/14 15:46:2
2 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
/*********************************************************************
*
* 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 $
*
* 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.
*
* 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
)
{
#endif
)
{
+ if (loglevel == LOG_LEVEL_FATAL)
+ {
+ fatal_error("Fatal error. You're not supposed to"
+ "see this message. Please file a bug report.");
+ }
return;
}
return;
}