mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 21:34:53 -04:00
Use FindClose for handle from FindFirstFile in http-server.c
Noted by Miles Chan as issue #145
This commit is contained in:
parent
1a8295a316
commit
6466e88ac1
@ -264,7 +264,7 @@ send_document_cb(struct evhttp_request *req, void *arg)
|
|||||||
#endif
|
#endif
|
||||||
evbuffer_add_printf(evb, "</ul></body></html>\n");
|
evbuffer_add_printf(evb, "</ul></body></html>\n");
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
CloseHandle(d);
|
FindClose(d);
|
||||||
#else
|
#else
|
||||||
closedir(d);
|
closedir(d);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user