Mercurial > hg > nginx
diff src/http/ngx_http_core_module.c @ 2749:ccaf43725ff6
change ngx_log_create_errlog() interface
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 24 Apr 2009 14:27:36 +0000 |
parents | 756f73ca1e39 |
children | 09cab3f8d92e |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Fri Apr 24 09:54:40 2009 +0000 +++ b/src/http/ngx_http_core_module.c Fri Apr 24 14:27:36 2009 +0000 @@ -4101,7 +4101,11 @@ { ngx_http_core_loc_conf_t *lcf = conf; - lcf->err_log = ngx_log_create_errlog(cf->cycle, cf->args); + ngx_str_t *value; + + value = cf->args->elts; + + lcf->err_log = ngx_log_create_errlog(cf->cycle, &value[1]); if (lcf->err_log == NULL) { return NGX_CONF_ERROR; }