diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-10-21 19:13:27 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-10-21 19:13:27 +0000 |
commit | ba3083bfce4d9eddee72439e33c91456206bfebc (patch) | |
tree | fc64ebaa10b323f4ed6347f3ddf0a274cf3373dc /src/http/ngx_http.c | |
parent | 42b72993c52c0d9bb50369ba38dcbd2688a50be6 (diff) | |
download | nginx-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.c | 2 |
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; } |