fix r1416

This commit is contained in:
Igor Sysoev 2007-09-21 13:43:53 +00:00
parent 327a39aaf6
commit fbe4862a64

View file

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