comparison src/http/ngx_http_core_module.c @ 208:0b67be7d4489

nginx-0.0.1-2003-12-08-23:48:12 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 08 Dec 2003 20:48:12 +0000
parents 6e0fef527732
children 00cafae0bdf1
comparison
equal deleted inserted replaced
207:6e0fef527732 208:0b67be7d4489
1352 1352
1353 static char *ngx_set_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) 1353 static char *ngx_set_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
1354 { 1354 {
1355 ngx_http_core_loc_conf_t *lcf = conf; 1355 ngx_http_core_loc_conf_t *lcf = conf;
1356 1356
1357 #if 0
1357 ngx_str_t *value; 1358 ngx_str_t *value;
1358 1359
1359 value = cf->args->elts; 1360 value = cf->args->elts;
1361 #endif
1360 1362
1361 ngx_test_null(lcf->err_log, 1363 ngx_test_null(lcf->err_log,
1362 ngx_log_create_errlog(cf->cycle, &value[1]), 1364 ngx_log_create_errlog(cf->cycle, cf->args),
1363 NGX_CONF_ERROR); 1365 NGX_CONF_ERROR);
1364 1366
1365 return NGX_CONF_OK; 1367 return NGX_CONF_OK;
1366 } 1368 }
1367 1369