]> granicus.if.org Git - apache/commitdiff
This is nothing but const bogosity. We have our very own manipulation,
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Oct 2001 17:35:41 +0000 (17:35 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 8 Oct 2001 17:35:41 +0000 (17:35 +0000)
  we are allowed to touch the char *'s, even if we have a const contract.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91358 13f79535-47bb-0310-9956-ffa450edef68

server/request.c

index d792d38443b3c68d496e67c46c67b1ab3f766397..7ced634d8724001636ebe0f48becac6d75eb0413 100644 (file)
@@ -984,7 +984,7 @@ AP_DECLARE(int) ap_directory_walk(request_rec *r)
         override = this_dir->override;
 
         r->path_info = r->filename;
-        rv = apr_filepath_root(&r->filename, &r->path_info, 
+        rv = apr_filepath_root((char**)&r->filename, (char**)&r->path_info, 
                                APR_FILEPATH_TRUENAME, r->pool);
         buflen = strlen(r->filename) + strlen(r->path_info) + 1;
         buf = apr_palloc(r->pool, buflen);