projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added filter to replace "Nimda" code by a warning.
[privoxy.git]
/
errlog.c
diff --git
a/errlog.c
b/errlog.c
index
7f289e8
..
b9ff49e
100644
(file)
--- a/
errlog.c
+++ b/
errlog.c
@@
-1,4
+1,4
@@
-const char errlog_rcs[] = "$Id: errlog.c,v 1.1
7 2001/09/10 10:17:13 oes
Exp $";
+const char errlog_rcs[] = "$Id: errlog.c,v 1.1
9 2001/09/13 20:08:06 jongfoster
Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
@@
-33,6
+33,12
@@
const char errlog_rcs[] = "$Id: errlog.c,v 1.17 2001/09/10 10:17:13 oes Exp $";
*
* Revisions :
* $Log: errlog.c,v $
*
* Revisions :
* $Log: errlog.c,v $
+ * Revision 1.19 2001/09/13 20:08:06 jongfoster
+ * Adding support for LOG_LEVEL_CGI
+ *
+ * Revision 1.18 2001/09/10 11:27:24 oes
+ * Declaration of w32_socket_strerr now conditional
+ *
* Revision 1.17 2001/09/10 10:17:13 oes
* Removed unused variable; Fixed sprintf format
*
* Revision 1.17 2001/09/10 10:17:13 oes
* Removed unused variable; Fixed sprintf format
*
@@
-364,6
+370,9
@@
void log_error(int loglevel, char *fmt, ...)
outc = sprintf(outbuf, "IJB(%ld) Kill-Popups: ", this_thread);
break;
#endif /* def FEATURE_KILL_POPUPS */
outc = sprintf(outbuf, "IJB(%ld) Kill-Popups: ", this_thread);
break;
#endif /* def FEATURE_KILL_POPUPS */
+ case LOG_LEVEL_CGI:
+ outc = sprintf(outbuf, "IJB(%ld) CGI: ", this_thread);
+ break;
default:
outc = sprintf(outbuf, "IJB(%ld) UNKNOWN LOG TYPE(%d): ", this_thread, loglevel);
break;
default:
outc = sprintf(outbuf, "IJB(%ld) UNKNOWN LOG TYPE(%d): ", this_thread, loglevel);
break;