aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-06-15 18:32:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-06-15 18:32:13 +0000
commitbe2cfc3d28c90b0e911f22d6f14ce927b7f5bfad (patch)
tree52bcfd54a3779fd021278e28dffad5d5bd2f2f4a /src/core/nginx.c
parent0915977df53c486abbc6081e1c83f9f8e7a8f111 (diff)
downloadnginx-be2cfc3d28c90b0e911f22d6f14ce927b7f5bfad.tar.gz
nginx-be2cfc3d28c90b0e911f22d6f14ce927b7f5bfad.zip
nginx-0.0.1-2003-06-15-22:32:13 import
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 4f3be980c..28b5fa9fb 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -41,6 +41,7 @@ int main(int argc, char *const *argv)
/* STUB */ ngx_log.log_level = NGX_LOG_DEBUG;
#endif
+
log = ngx_log_init_errlog();
if (ngx_os_init(log) == NGX_ERROR) {
@@ -230,6 +231,9 @@ static int ngx_open_listening_sockets(ngx_log_t *log)
}
if (failed) {
+
+ /* TODO: configurable */
+
ngx_log_error(NGX_LOG_EMERG, log, 0, "can not bind(), exiting");
return NGX_ERROR;
}