summaryrefslogtreecommitdiff
path: root/file_io/win32
diff options
context:
space:
mode:
authorJean-Frederic Clere <jfclere@apache.org>2010-03-09 14:42:23 +0000
committerJean-Frederic Clere <jfclere@apache.org>2010-03-09 14:42:23 +0000
commit27f3b0de21dde9a7e036ea585e15a73dbf7595ed (patch)
treed3713f2847ee0c0b114052b9b52a8ab1c3c7e068 /file_io/win32
parent6eeecb8554b8d1fb5288ced44594ffe6b12d3f54 (diff)
downloadapr-27f3b0de21dde9a7e036ea585e15a73dbf7595ed.tar.gz
typos? Otherwise it won't compile.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@920897 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/win32')
-rw-r--r--file_io/win32/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_io/win32/open.c b/file_io/win32/open.c
index 48736984a..a4e6f2692 100644
--- a/file_io/win32/open.c
+++ b/file_io/win32/open.c
@@ -610,8 +610,8 @@ APR_DECLARE(apr_status_t) apr_file_link(const char *from_path,
#endif
#if APR_HAS_ANSI_FS
ELSE_WIN_OS_IS_ANSI {
- if (!CreateHardLinkA(wto_path, wfrom_path))
- return apr_get_os_error()
+ if (!CreateHardLinkA(to_path, from_path, NULL))
+ return apr_get_os_error();
}
#endif
return rv;