diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-12-08 20:48:12 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-12-08 20:48:12 +0000 |
commit | 5f80078c675bc344d12a6a64d97ecafb64de224b (patch) | |
tree | e4ff5330121ef71ffe558ccaa9210218802ff537 /src/http/ngx_http_core_module.c | |
parent | 62260f2a158e27e5f6b1689e10dc25ea3c617473 (diff) | |
download | nginx-5f80078c675bc344d12a6a64d97ecafb64de224b.tar.gz nginx-5f80078c675bc344d12a6a64d97ecafb64de224b.zip |
nginx-0.0.1-2003-12-08-23:48:12 import
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; |