From: William A. Rowe Jr Date: Thu, 24 Jan 2002 15:27:46 +0000 (+0000) Subject: Omitted this argument and const'ness. All looks well now. X-Git-Tag: 2.0.31~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33d15cf0b938fc3d0ca16bcfbe2425ecf6805f1e;p=apache Omitted this argument and const'ness. All looks well now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92999 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/dav/fs/repos.c b/modules/dav/fs/repos.c index 3e2f4711e4..9baa1ac115 100644 --- a/modules/dav/fs/repos.c +++ b/modules/dav/fs/repos.c @@ -735,8 +735,8 @@ static dav_error * dav_fs_get_parent_resource(const dav_resource *resource, dav_resource *parent_resource; apr_status_t rv; char *dirpath; - char *testroot; - char *testpath; + const char *testroot; + const char *testpath; /* If given resource is root, then there is no parent. * Unless we can retrieve the filepath root, this is @@ -744,7 +744,7 @@ static dav_error * dav_fs_get_parent_resource(const dav_resource *resource, * no path info remains, then we also fail. */ testpath = ctx->pathname; - rv = apr_filepath_root(&testroot, &testpath, ctx->pool); + rv = apr_filepath_root(&testroot, &testpath, 0, ctx->pool); if ((rv != APR_SUCCESS && rv != APR_ERELATIVE) || !testpath || !*testpath) { *result_parent = NULL;