From 134d1a67c5337177a996c408b1d2002702f1896d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 11 Feb 2009 12:33:13 +0000 Subject: fix r2169 for .def.com and .abc.def.com case --- src/core/ngx_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ngx_hash.c') diff --git a/src/core/ngx_hash.c b/src/core/ngx_hash.c index dd28e7c37..2eadbf3e3 100644 --- a/src/core/ngx_hash.c +++ b/src/core/ngx_hash.c @@ -589,7 +589,7 @@ ngx_hash_wildcard_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names, wdc->value = names[n].value; } - name->value = (void *) ((uintptr_t) wdc | (dot ? 3 : 1)); + name->value = (void *) ((uintptr_t) wdc | (dot ? 3 : 2)); } else if (dot) { name->value = (void *) ((uintptr_t) name->value | 1); -- cgit