diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-01 16:36:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-01 16:36:47 +0000 |
commit | e40b8d042eb6de5a85307b42d830ad1072fd5e99 (patch) | |
tree | 78bac8c11a27e83ca42de09eda8ca62c19f9f3df | |
parent | 7b57474d3726ddd8070db4af35d295b2ed0a18ac (diff) | |
download | nginx-e40b8d042eb6de5a85307b42d830ad1072fd5e99.tar.gz nginx-e40b8d042eb6de5a85307b42d830ad1072fd5e99.zip |
r2581 merge:
test wildcard tail hash existance
-rw-r--r-- | src/http/ngx_http.c | 4 |
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; } |