diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-04-24 14:46:08 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-04-24 14:46:08 +0000 |
commit | 0e18ebd0d931e175b7d92c0d6fb36c1c60c2aac9 (patch) | |
tree | 4cc0921e30069e29ee0456d8c2fcd693e81fde39 /src/http/ngx_http.c | |
parent | fb970519d45f7fb299dfaba854b8cc58d4dc4711 (diff) | |
download | nginx-0e18ebd0d931e175b7d92c0d6fb36c1c60c2aac9.tar.gz nginx-0e18ebd0d931e175b7d92c0d6fb36c1c60c2aac9.zip |
nginx-0.0.1-2003-04-24-18:46:08 import
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r-- | src/http/ngx_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 163cf9bdf..7128e20c8 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -107,7 +107,7 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, char *dummy) 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); } |