aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-07-10 16:26:57 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-07-10 16:26:57 +0000
commitb8c367c7b9155857f1c068624aa059830db57fa8 (patch)
treedbb12653e14051e3278b5c558de02d1917f04ee3 /src/http/ngx_http_core_module.c
parent9d639520aa95f0ff3882ea348d4347f69cbae493 (diff)
downloadnginx-b8c367c7b9155857f1c068624aa059830db57fa8.tar.gz
nginx-b8c367c7b9155857f1c068624aa059830db57fa8.zip
nginx-0.0.1-2003-07-10-20:26:57 import
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 60a9fcfaf..0601f3f2c 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1061,10 +1061,9 @@ static char *ngx_set_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
value = cf->args->elts;
- ngx_test_null(lcf->err_log, ngx_log_create_errlog(cf->cycle),
+ ngx_test_null(lcf->err_log,
+ ngx_log_create_errlog(cf->cycle, &value[1]),
NGX_CONF_ERROR);
- lcf->err_log->file->name = value[1];
-
return NGX_CONF_OK;
}