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/ngx_http_log_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/ngx_http_log_handler.c')
-rw-r--r-- | src/http/ngx_http_log_handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_log_handler.c b/src/http/ngx_http_log_handler.c index 727cceb98..4f63d0190 100644 --- a/src/http/ngx_http_log_handler.c +++ b/src/http/ngx_http_log_handler.c @@ -656,7 +656,7 @@ static char *ngx_http_log_merge_loc_conf(ngx_conf_t *cf, void *parent, 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 @@ static char *ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t *cmd, } 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; |