summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_hash.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-02-11 12:33:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-02-11 12:33:13 +0000
commit134d1a67c5337177a996c408b1d2002702f1896d (patch)
treecf2a2da1c93c66e262e4897302bb3d49bbb251b6 /src/core/ngx_hash.c
parent540ce1957f6dbd80ba426c35747c1b06c228c3a6 (diff)
downloadnginx-134d1a67c5337177a996c408b1d2002702f1896d.tar.gz
nginx-134d1a67c5337177a996c408b1d2002702f1896d.tar.bz2
fix r2169 for .def.com and .abc.def.com case
Diffstat (limited to 'src/core/ngx_hash.c')
-rw-r--r--src/core/ngx_hash.c2
1 files changed, 1 insertions, 1 deletions
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);