Mercurial > hg > nginx
diff src/core/ngx_conf_file.c @ 449:3b1e8c9df9ad
nginx-0.1.0-2004-10-04-00:02:06 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 03 Oct 2004 20:02:06 +0000 |
parents | 288f249897e7 |
children | 295d97d70c69 |
line wrap: on
line diff
--- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -560,7 +560,7 @@ static char *ngx_conf_include(ngx_conf_t return NGX_CONF_ERROR; } - ngx_log_error(NGX_LOG_INFO, cf->log, 0, "include %s", file.data); + ngx_log_debug1(NGX_LOG_DEBUG_CORE, cf->log, 0, "include %s", file.data); return ngx_conf_parse(cf, &file); } @@ -597,6 +597,11 @@ ngx_open_file_t *ngx_conf_open_file(ngx_ ngx_list_part_t *part; ngx_open_file_t *file; +#if (NGX_SUPPRESS_WARN) + full.len = 0; + full.data = NULL; +#endif + if (name) { full = *name; @@ -637,7 +642,7 @@ ngx_open_file_t *ngx_conf_open_file(ngx_ file->name = full; } else { - file->fd = STDERR_FILENO; + file->fd = ngx_stderr_fileno; file->name.len = 0; file->name.data = NULL; }