test wildcard tail hash existance

This commit is contained in:
Igor Sysoev 2009-03-19 15:46:27 +00:00
parent b03aa7fcc2
commit fb3be73a38

View File

@ -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;
}