coar 99/02/18 11:28:22
Modified: src/modules/standard mod_log_config.c
Log:
D'oh! "(!fmt)" accidentally turned into "(fmt != NULL)",
inverting the logic and causing a NULL pointer to be passed
where it wasn't permitted.
Obtained from: Ask Bjoern Hansen <[EMAIL PROTECTED]>
Revision Changes Path
1.74 +1 -1 apache-1.3/src/modules/standard/mod_log_config.c
Index: mod_log_config.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_log_config.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- mod_log_config.c 1999/02/17 23:28:17 1.73
+++ mod_log_config.c 1999/02/18 19:28:21 1.74
@@ -935,7 +935,7 @@
cls->fname = fn;
cls->format_string = fmt;
- if (fmt != NULL) {
+ if (fmt == NULL) {
cls->format = NULL;
}
else {