diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2011-12-27 19:42:28 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2011-12-27 19:42:28 +0100 |
commit | 02a0e3b89d2ea1b984365e692c910668d75c6dcd (patch) | |
tree | b9ba1c635c12bace3b2afbe7f548a0aab67102f5 /srclib/apr/file_io | |
parent | 0268977037115539ad65a26e858aa0df8d18cd13 (diff) | |
download | apache2-02a0e3b89d2ea1b984365e692c910668d75c6dcd.tar.gz |
Upstream tarball 2.2.11upstream/2.2.11
Diffstat (limited to 'srclib/apr/file_io')
-rw-r--r-- | srclib/apr/file_io/win32/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } } |