Mailing List Archive

cvs commit: apache-1.3/src/main http_config.c
martin 98/03/20 03:24:40

Modified: src/main http_config.c
Log:
When configuration errors are detected (i.e., srm_command_loop returns
an error string), the errno variable is useless. Don't print invalid
errno messages at this level.

Revision Changes Path
1.110 +1 -1 apache-1.3/src/main/http_config.c

Index: http_config.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_config.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -u -r1.109 -r1.110
--- http_config.c 1998/03/17 08:20:56 1.109
+++ http_config.c 1998/03/20 11:24:39 1.110
@@ -1163,7 +1163,7 @@
cfg_closefile(f);

if (errmsg) {
- aplog_error(APLOG_MARK, APLOG_ALERT, r->server, "%s: %s",
+ aplog_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO, r->server, "%s: %s",
filename, errmsg);
return HTTP_INTERNAL_SERVER_ERROR;
}