fix r1416

This commit is contained in:
Igor Sysoev 2007-09-21 13:43:53 +00:00
parent c4b3b5ae5f
commit 425b0afd7c

View File

@ -896,7 +896,7 @@ wildcard:
return NGX_ERROR; return NGX_ERROR;
} }
ngx_cpystrn(p, key->data, last - 1); ngx_cpystrn(p, key->data, last);
hwc = &ha->dns_wc_tail; hwc = &ha->dns_wc_tail;
keys = &ha->dns_wc_tail_hash[k]; keys = &ha->dns_wc_tail_hash[k];