]> granicus.if.org Git - apache/commitdiff
Fix constness compiler warning
authorCliff Woolley <jwoolley@apache.org>
Thu, 8 Nov 2001 23:26:36 +0000 (23:26 +0000)
committerCliff Woolley <jwoolley@apache.org>
Thu, 8 Nov 2001 23:26:36 +0000 (23:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91812 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_headers.c

index 2c3c727f53f844a83d4125cbe7165af237a937da..2d356780bd4fc873727b67823e728a2cbd83baea 100644 (file)
@@ -190,7 +190,7 @@ static const char *header_request_time(request_rec *r, char *a)
 }
 static const char *header_request_env_var(request_rec *r, char *a)
 {
-    char *s = apr_table_get(r->subprocess_env,a);
+    const char *s = apr_table_get(r->subprocess_env,a);
                 
     if (s)
         return s;