# HG changeset patch # User Igor Sysoev # Date 1238603807 0 # Node ID e3baaf7a9bde793861cb3c07bd9c2d90dfbcf1de # Parent 117442ab7c47dadc84d133af8166926c38a77dbe r2581 merge: test wildcard tail hash existance diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -896,8 +896,8 @@ ngx_http_block(ngx_conf_t *cf, ngx_comma 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; }