You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/03/16 21:29:39 UTC
cvs commit: httpd-2.0/modules/http http_protocol.c mod_mime.c
trawick 02/03/16 12:29:39
Modified: modules/http http_protocol.c mod_mime.c
Log:
fix the type of a string argument to ap_log_error()
Revision Changes Path
1.395 +1 -1 httpd-2.0/modules/http/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
retrieving revision 1.394
retrieving revision 1.395
diff -u -r1.394 -r1.395
--- http_protocol.c 13 Mar 2002 20:47:49 -0000 1.394
+++ http_protocol.c 16 Mar 2002 20:29:38 -0000 1.395
@@ -854,7 +854,7 @@
r->status_line = status_lines[ap_index_of_response(r->status)];
}
- /* kluge around broken browsers when indicated by force-response-1.0
+ /* kludge around broken browsers when indicated by force-response-1.0
*/
if (r->proto_num == HTTP_VERSION(1,0)
&& apr_table_get(r->subprocess_env, "force-response-1.0")) {
1.79 +1 -1 httpd-2.0/modules/http/mod_mime.c
Index: mod_mime.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/http/mod_mime.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- mod_mime.c 16 Mar 2002 18:26:57 -0000 1.78
+++ mod_mime.c 16 Mar 2002 20:29:38 -0000 1.79
@@ -442,7 +442,7 @@
if (!types_confname) {
ap_log_error(APLOG_MARK, APLOG_ERR, APR_EBADPATH, s,
"Invalid mime types config path %s",
- ap_get_module_config(s->module_config, &mime_module));
+ (const char *)ap_get_module_config(s->module_config, &mime_module));
return HTTP_INTERNAL_SERVER_ERROR;
}
if ((status = ap_pcfg_openfile(&f, ptemp, types_confname))