1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00

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
This commit is contained in:
William A. Rowe Jr
2002-01-24 15:27:46 +00:00
parent c7b3faf368
commit 33d15cf0b9

View File

@@ -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;