diff src/core/ngx_hash.c @ 2502:23706c19fab8

fix r2169 for .def.com and .abc.def.com case
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 Feb 2009 12:33:13 +0000
parents a953f73273ee
children 6f79fac538b9
line wrap: on
line diff
--- a/src/core/ngx_hash.c
+++ b/src/core/ngx_hash.c
@@ -589,7 +589,7 @@ ngx_hash_wildcard_init(ngx_hash_init_t *
                 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);