From: Igor Sysoev Date: Thu, 19 Mar 2009 15:46:27 +0000 (+0000) Subject: test wildcard tail hash existance X-Git-Tag: release-0.7.44~13 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=fb3be73a3829878af34aeafdc6a48cbe5d6e61f5;p=nginx.git test wildcard tail hash existance --- diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index d519bf981..dd33169da 100644 --- 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_http_port_t *hport, 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; }