aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-23 11:13:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-23 11:13:12 +0000
commitc28ff717cb27e01cc40bdaebdd2c3826c0a7707d (patch)
treef0cfcf4aac2d0fb1226b4305a90916998008436b /src/core/ngx_conf_file.c
parentae2f2b105ad8e56eea73720a094961cc9e665f3d (diff)
downloadnginx-c28ff717cb27e01cc40bdaebdd2c3826c0a7707d.tar.gz
nginx-c28ff717cb27e01cc40bdaebdd2c3826c0a7707d.zip
issue start up errors and warning on both stderr and error_log
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r--src/core/ngx_conf_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index 7ec574e0c..9b0f67cd1 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -892,7 +892,7 @@ ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name)
file->name = full;
} else {
- file->fd = ngx_stderr_fileno;
+ file->fd = ngx_stderr;
file->name.len = 0;
file->name.data = NULL;
}