summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-01 16:36:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-01 16:36:47 +0000
commite40b8d042eb6de5a85307b42d830ad1072fd5e99 (patch)
tree78bac8c11a27e83ca42de09eda8ca62c19f9f3df
parent7b57474d3726ddd8070db4af35d295b2ed0a18ac (diff)
downloadnginx-e40b8d042eb6de5a85307b42d830ad1072fd5e99.tar.gz
r2581 merge:
test wildcard tail hash existance
-rw-r--r--src/http/ngx_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index deb3636a4..5e3c4009d 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -896,8 +896,8 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
if (in_addr[i].hash.buckets == NULL
&& (in_addr[i].wc_head == NULL
|| in_addr[i].wc_head->hash.buckets == NULL)
- && (in_addr[i].wc_head == NULL
- || in_addr[i].wc_head->hash.buckets == NULL))
+ && (in_addr[i].wc_tail == NULL
+ || in_addr[i].wc_tail->hash.buckets == NULL))
{
continue;
}