Mercurial > hg > nginx-quic
diff src/http/ngx_http.c @ 2580:684ca3b0ae14
test wildcard tail hash existance
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 19 Mar 2009 15:46:27 +0000 |
parents | c352c419be85 |
children | 1fb5e7e05a4e |
line wrap: on
line diff
--- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1805,8 +1805,8 @@ ngx_http_add_addrs(ngx_conf_t *cf, ngx_h if (addr[i].hash.buckets == NULL && (addr[i].wc_head == NULL || addr[i].wc_head->hash.buckets == NULL) - && (addr[i].wc_head == NULL - || addr[i].wc_head->hash.buckets == NULL)) + && (addr[i].wc_tail == NULL + || addr[i].wc_tail->hash.buckets == NULL)) { continue; }