From fb3be73a3829878af34aeafdc6a48cbe5d6e61f5 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 19 Mar 2009 15:46:27 +0000 Subject: test wildcard tail hash existance --- src/http/ngx_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit