]> granicus.if.org Git - apache/commitdiff
fix the type of a string argument to ap_log_error()
authorJeff Trawick <trawick@apache.org>
Sat, 16 Mar 2002 20:29:38 +0000 (20:29 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 16 Mar 2002 20:29:38 +0000 (20:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93973 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c
modules/http/mod_mime.c

index 42b7acfbb94d8591be2a7fcd4494d338700d59b0..205c8732bf0af75de2ef152a3dca6d4358732557 100644 (file)
@@ -854,7 +854,7 @@ static void basic_http_header_check(request_rec *r,
         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")) {
index cec660b3bd4f53f1626e04077df1ef0acfd45ecc..7eaab71a3e6f78e461690f9899169b936632f195 100644 (file)
@@ -442,7 +442,7 @@ static int mime_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp,
     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))