From: William A. Rowe Jr Date: Mon, 8 Oct 2001 17:35:41 +0000 (+0000) Subject: This is nothing but const bogosity. We have our very own manipulation, X-Git-Tag: 2.0.26~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=006f49d98a7206905cfd05d068e29f55ca2fdd1a;p=apache This is nothing but const bogosity. We have our very own manipulation, 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 --- diff --git a/server/request.c b/server/request.c index d792d38443..7ced634d87 100644 --- a/server/request.c +++ b/server/request.c @@ -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);