summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-10-10 18:09:41 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-10-10 18:09:41 +0000
commit67310da361943da9305a50c28efcc2ff45c6676f (patch)
tree63a6ba4a08cbc0035a9c63d2b497752c7f1481ad
parent567db2350ac57eec9c3e68d82dc55fb4c199d858 (diff)
downloadlibapr-67310da361943da9305a50c28efcc2ff45c6676f.tar.gz
Fix minor typo
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62415 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--file_io/win32/filepath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/win32/filepath.c b/file_io/win32/filepath.c
index 5d38e0ba4..200313d92 100644
--- a/file_io/win32/filepath.c
+++ b/file_io/win32/filepath.c
@@ -343,7 +343,7 @@ APR_DECLARE(apr_status_t) apr_filepath_root(const char **rootpath,
while (**inpath == '/' || **inpath == '\\')
++*inpath;
if (!(flags & APR_FILEPATH_TRUENAME))
- newpath[2] = testpath[0];
+ newpath[2] = testpath[2];
*rootpath = newpath;
return APR_SUCCESS;
}