diff options
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r-- | src/http/ngx_http_core_module.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 547e028e5..2f5c92345 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -1354,12 +1354,14 @@ static char *ngx_set_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) { ngx_http_core_loc_conf_t *lcf = conf; +#if 0 ngx_str_t *value; value = cf->args->elts; +#endif ngx_test_null(lcf->err_log, - ngx_log_create_errlog(cf->cycle, &value[1]), + ngx_log_create_errlog(cf->cycle, cf->args), NGX_CONF_ERROR); return NGX_CONF_OK; |