summaryrefslogtreecommitdiff
path: root/sample/http-server.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-11-30 00:53:16 -0500
committerNick Mathewson <nickm@torproject.org>2010-11-30 00:53:16 -0500
commit13fd242ddba16bc02c1e54c7209b4be4d85ac906 (patch)
treebb236e346f571b617f92c69c2b8b06a717bf52aa /sample/http-server.c
parent04861d5e62d42e9626c08d74c43b1050e28c8858 (diff)
downloadlibevent-13fd242ddba16bc02c1e54c7209b4be4d85ac906.tar.gz
Fix win32 build of http-server.c with unicode enabled
Diffstat (limited to 'sample/http-server.c')
-rw-r--r--sample/http-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/http-server.c b/sample/http-server.c
index e4df3efa..63e434d0 100644
--- a/sample/http-server.c
+++ b/sample/http-server.c
@@ -247,7 +247,7 @@ send_document_cb(struct evhttp_request *req, void *arg)
" <li><a href=\"%s\">%s</a>\n",
name, name);/* XXX escape this */
#ifdef WIN32
- } while (FindNextFile(d, &ent));
+ } while (FindNextFileA(d, &ent));
#else
}
#endif