Mercurial > hg > nginx
diff src/http/ngx_http.c @ 81:b2ece31c976a
nginx-0.0.1-2003-04-24-18:46:08 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 24 Apr 2003 14:46:08 +0000 |
parents | 59229033ae93 |
children | 674d333f4296 |
line wrap: on
line diff
--- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -107,7 +107,7 @@ static char *ngx_http_block(ngx_conf_t * module = (ngx_http_module_t *) ngx_modules[i]->ctx; if (module->create_loc_conf) { - ngx_test_null(ctx->loc_conf[ngx_modules[i]->index], + ngx_test_null(ctx->loc_conf[module->index], module->create_loc_conf(cf->pool), NGX_CONF_ERROR); }