diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-03-19 15:46:27 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-03-19 15:46:27 +0000 |
commit | fb3be73a3829878af34aeafdc6a48cbe5d6e61f5 (patch) | |
tree | 20e74cdab1913a197f40c706d2f0433466da277e /src/http/ngx_http.c | |
parent | b03aa7fcc23539f5664452acf541329bb81d1eec (diff) | |
download | nginx-fb3be73a3829878af34aeafdc6a48cbe5d6e61f5.tar.gz nginx-fb3be73a3829878af34aeafdc6a48cbe5d6e61f5.zip |
test wildcard tail hash existance
Diffstat (limited to 'src/http/ngx_http.c')
-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 d519bf981..dd33169da 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1805,8 +1805,8 @@ ngx_http_add_addrs(ngx_conf_t *cf, ngx_http_port_t *hport, if (addr[i].hash.buckets == NULL && (addr[i].wc_head == NULL || addr[i].wc_head->hash.buckets == NULL) - && (addr[i].wc_head == NULL - || addr[i].wc_head->hash.buckets == NULL)) + && (addr[i].wc_tail == NULL + || addr[i].wc_tail->hash.buckets == NULL)) { continue; } |