diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-10-16 20:19:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-10-16 20:19:16 +0000 |
commit | d404c9716322cfe8778e7494e55efb924f35ecaa (patch) | |
tree | 1501d7225b9c5f9f8cb7d87ece670bd5f9238b59 /src/http/modules/ngx_http_index_handler.c | |
parent | e4aabac04e078f07dce73e90847ef02d74facbe2 (diff) | |
download | nginx-d404c9716322cfe8778e7494e55efb924f35ecaa.tar.gz nginx-d404c9716322cfe8778e7494e55efb924f35ecaa.zip |
nginx-0.0.1-2003-10-17-00:19:16 import
Diffstat (limited to 'src/http/modules/ngx_http_index_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_index_handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |