diff options
Diffstat (limited to 'sample/http-server.c')
-rw-r--r-- | sample/http-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/http-server.c b/sample/http-server.c index 63e434d0..f9e84d1c 100644 --- a/sample/http-server.c +++ b/sample/http-server.c @@ -217,7 +217,7 @@ send_document_cb(struct evhttp_request *req, void *arg) pattern[dirlen+2] = '\0'; d = FindFirstFileA(pattern, &ent); free(pattern); - if (d == INVALID_HANDLE_VALUE) + if (d == INVALID_HANDLE_VALUE) goto err; #else if (!(d = opendir(whole_path))) |