aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-21 19:13:27 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-10-21 19:13:27 +0000
commitba3083bfce4d9eddee72439e33c91456206bfebc (patch)
treefc64ebaa10b323f4ed6347f3ddf0a274cf3373dc /src/http/ngx_http.c
parent42b72993c52c0d9bb50369ba38dcbd2688a50be6 (diff)
downloadnginx-ba3083bfce4d9eddee72439e33c91456206bfebc.tar.gz
nginx-ba3083bfce4d9eddee72439e33c91456206bfebc.zip
add listen address in error message
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 6258380ca..15b53feab 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1215,7 +1215,7 @@ ngx_http_add_addresses(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf,
if (addr[i].opt.default_server) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "the duplicate default server");
+ "a duplicate default server for %s", addr[i].opt.addr);
return NGX_ERROR;
}