diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-10-12 16:49:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-10-12 16:49:16 +0000 |
commit | 0a280a3fc081877bc45cbdc0511a8cc42675213c (patch) | |
tree | b5ea17e3be5eab555cf40f6304338a88bd641527 /src/http/ngx_http.c | |
parent | b3e73d869ecef9248468e0ccc2d7d0abdbee495c (diff) | |
download | nginx-0a280a3fc081877bc45cbdc0511a8cc42675213c.tar.gz nginx-0a280a3fc081877bc45cbdc0511a8cc42675213c.zip |
nginx-0.0.1-2003-10-12-20:49:16 import
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r-- | src/http/ngx_http.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 48980bbbb..c2e917815 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -201,7 +201,7 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } - /* init list of the handlers */ + /* init lists of the handlers */ ngx_init_array(cmcf->phases[NGX_HTTP_REWRITE_PHASE].handlers, cf->cycle->pool, 10, sizeof(ngx_http_handler_pt), @@ -219,10 +219,6 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cmcf->phases[NGX_HTTP_TRANSLATE_PHASE].type = NGX_OK; - ngx_init_array(cmcf->index_handlers, cf->cycle->pool, - 3, sizeof(ngx_http_handler_pt), NGX_CONF_ERROR); - - /* create the lists of the ports, the addresses and the server names to allow quickly find the server core module configuration at run-time */ |