mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix r2169 for .def.com and .abc.def.com case
This commit is contained in:
parent
540ce1957f
commit
134d1a67c5
@ -589,7 +589,7 @@ ngx_hash_wildcard_init(ngx_hash_init_t *hinit, ngx_hash_key_t *names,
|
|||||||
wdc->value = names[n].value;
|
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) {
|
} else if (dot) {
|
||||||
name->value = (void *) ((uintptr_t) name->value | 1);
|
name->value = (void *) ((uintptr_t) name->value | 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user