diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-03-14 20:46:25 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-14 20:46:25 +0000 |
| commit | 3646a1669df23e2dcfb7cc8c940abeb822d8f010 (patch) | |
| tree | 3fa72a0986c1bbb70eb393a0073c117bb82dcd54 /src/http/modules/ngx_http_index_handler.c | |
| parent | 67f88e9cc678d31b5995518922d3fcb63a129465 (diff) | |
| download | nginx-3646a1669df23e2dcfb7cc8c940abeb822d8f010.tar.gz nginx-3646a1669df23e2dcfb7cc8c940abeb822d8f010.tar.bz2 | |
nginx-0.0.2-2004-03-14-23:46:25 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, 3 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_index_handler.c b/src/http/modules/ngx_http_index_handler.c index d5ecd41f1..bec9d653f 100644 --- a/src/http/modules/ngx_http_index_handler.c +++ b/src/http/modules/ngx_http_index_handler.c @@ -98,7 +98,6 @@ ngx_module_t ngx_http_index_module = { int ngx_http_index_handler(ngx_http_request_t *r) { char *name; - uint32_t crc; size_t len; ngx_fd_t fd; ngx_int_t rc; @@ -108,6 +107,9 @@ int ngx_http_index_handler(ngx_http_request_t *r) ngx_http_index_ctx_t *ctx; ngx_http_core_loc_conf_t *clcf; ngx_http_index_loc_conf_t *ilcf; +#if (NGX_HTTP_CACHE) + uint32_t crc; +#endif if (r->uri.data[r->uri.len - 1] != '/') { return NGX_DECLINED; |
