From 02a0e3b89d2ea1b984365e692c910668d75c6dcd Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Tue, 27 Dec 2011 19:42:28 +0100 Subject: Upstream tarball 2.2.11 --- srclib/apr/file_io/win32/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'srclib/apr/file_io') diff --git a/srclib/apr/file_io/win32/dir.c b/srclib/apr/file_io/win32/dir.c index 76fe42bc..9e16bc19 100644 --- a/srclib/apr/file_io/win32/dir.c +++ b/srclib/apr/file_io/win32/dir.c @@ -195,13 +195,13 @@ APR_DECLARE(apr_status_t) apr_dir_read(apr_finfo_t *finfo, apr_int32_t wanted, */ thedir->bof = 0; } - else if (!FindNextFile(thedir->dirhand, thedir->n.entry)) { + else if (!FindNextFileA(thedir->dirhand, thedir->n.entry)) { return apr_get_os_error(); } while (thedir->rootlen && thedir->rootlen + strlen(thedir->n.entry->cFileName) >= MAX_PATH) { - if (!FindNextFileW(thedir->dirhand, thedir->w.entry)) { + if (!FindNextFileA(thedir->dirhand, thedir->n.entry)) { return apr_get_os_error(); } } -- cgit v1.2.3