diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-07-15 16:35:51 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-15 16:35:51 +0000 |
commit | 1c3567ecc81a9f07f3c3d53912114bc5bd5daffa (patch) | |
tree | ba0b57b32bb1232af3fad0ff38375df9e498ec66 /src/http/modules/ngx_http_access_handler.c | |
parent | 4aa888820d3f13a225ee6bdd596305ea3b4db6f4 (diff) | |
download | nginx-1c3567ecc81a9f07f3c3d53912114bc5bd5daffa.tar.gz nginx-1c3567ecc81a9f07f3c3d53912114bc5bd5daffa.zip |
nginx-0.0.7-2004-07-15-20:35:51 import
Diffstat (limited to 'src/http/modules/ngx_http_access_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_access_handler.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_access_handler.c b/src/http/modules/ngx_http_access_handler.c index 95e4f773b..a57526ef2 100644 --- a/src/http/modules/ngx_http_access_handler.c +++ b/src/http/modules/ngx_http_access_handler.c @@ -193,8 +193,11 @@ static ngx_int_t ngx_http_access_init(ngx_cycle_t *cycle) ngx_http_conf_ctx_t *ctx; ngx_http_core_main_conf_t *cmcf; +#if 0 ctx = (ngx_http_conf_ctx_t *) cycle->conf_ctx[ngx_http_module.index]; cmcf = ctx->main_conf[ngx_http_core_module.ctx_index]; +#endif + cmcf = ngx_http_cycle_get_module_main_conf(cycle, ngx_http_core_module); h = ngx_push_array(&cmcf->phases[NGX_HTTP_ACCESS_PHASE].handlers); if (h == NULL) { |