From d404c9716322cfe8778e7494e55efb924f35ecaa Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 16 Oct 2003 20:19:16 +0000 Subject: nginx-0.0.1-2003-10-17-00:19:16 import --- src/http/modules/ngx_http_index_handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http/modules/ngx_http_index_handler.c') diff --git a/src/http/modules/ngx_http_index_handler.c b/src/http/modules/ngx_http_index_handler.c index 1bf2bd99d..9ec932517 100644 --- a/src/http/modules/ngx_http_index_handler.c +++ b/src/http/modules/ngx_http_index_handler.c @@ -79,7 +79,7 @@ ngx_module_t ngx_http_index_module = { int ngx_http_index_handler(ngx_http_request_t *r) { - int i, rc, test_dir, path_not_found; + int rc; char *name, *file; ngx_str_t redirect, *index; ngx_err_t err; @@ -132,7 +132,7 @@ int ngx_http_index_handler(ngx_http_request_t *r) fd = ngx_open_file(name, NGX_FILE_RDONLY, NGX_FILE_OPEN); - if (fd == NGX_AGAIN) { + if (fd == (ngx_fd_t) NGX_AGAIN) { return NGX_AGAIN; } -- cgit