fix r2169 for .def.com and .abc.def.com case

This commit is contained in:
Igor Sysoev 2009-02-11 12:33:13 +00:00
parent 540ce1957f
commit 134d1a67c5

View File

@ -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);