Mercurial > hg > nginx
diff src/http/ngx_http_log_handler.c @ 393:5659d773cfa8
nginx-0.0.7-2004-07-15-20:35:51 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 15 Jul 2004 16:35:51 +0000 |
parents | 2e3cbc1bbe3c |
children | 8ac40cae79f0 |
line wrap: on
line diff
--- a/src/http/ngx_http_log_handler.c Wed Jul 14 20:07:58 2004 +0000 +++ b/src/http/ngx_http_log_handler.c Thu Jul 15 16:35:51 2004 +0000 @@ -656,7 +656,7 @@ return NGX_CONF_ERROR; } - lmcf = ngx_http_conf_module_main_conf(cf, ngx_http_log_module); + lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module); fmt = lmcf->formats.elts; /* the default "combined" format */ log->ops = fmt[0].ops; @@ -686,7 +686,7 @@ } value = cf->args->elts; - lmcf = ngx_http_conf_module_main_conf(cf, ngx_http_log_module); + lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module); if (!(log = ngx_push_array(llcf->logs))) { return NGX_CONF_ERROR;