From e40b8d042eb6de5a85307b42d830ad1072fd5e99 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 1 Apr 2009 16:36:47 +0000 Subject: r2581 merge: 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 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; } -- cgit