Mercurial > hg > nginx
diff src/http/ngx_http.c @ 3223:bfcc1a6dd184
add listen address in error message
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 21 Oct 2009 19:13:27 +0000 |
parents | c8de5a8b6d17 |
children | 8e76e636ae3b |
line wrap: on
line diff
--- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1215,7 +1215,7 @@ ngx_http_add_addresses(ngx_conf_t *cf, n 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; }