From b8c367c7b9155857f1c068624aa059830db57fa8 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 10 Jul 2003 16:26:57 +0000 Subject: nginx-0.0.1-2003-07-10-20:26:57 import --- src/http/ngx_http_core_module.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/http') 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; } -- cgit