Mercurial > hg > nginx
changeset 2651:e3baaf7a9bde stable-0.6
r2581 merge:
test wildcard tail hash existance
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 01 Apr 2009 16:36:47 +0000 |
parents | 117442ab7c47 |
children | 2a06634cd7bf |
files | src/http/ngx_http.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }