initialized capa to 0 in to_dn_capa()
This commit is contained in:
@ -91,7 +91,6 @@ static mio_dns_msg_t* build_dns_msg (mio_svc_dnc_t* dnc, mio_dns_bhdr_t* bdns, m
|
||||
msg = mio_dns_make_msg(dnc->mio, bdns, qr, qr_count, rr, rr_count, edns, MIO_SIZEOF(*msgxtn) + xtnsize);
|
||||
if (msg)
|
||||
{
|
||||
|
||||
if (bdns->id < 0)
|
||||
{
|
||||
mio_dns_pkt_t* pkt = mio_dns_msg_to_pkt(msg);
|
||||
|
@ -69,7 +69,7 @@ static mio_oow_t to_dn (const mio_bch_t* str, mio_uint8_t* buf)
|
||||
|
||||
static mio_oow_t to_dn_capa (const mio_bch_t* str)
|
||||
{
|
||||
mio_oow_t capa;
|
||||
mio_oow_t capa = 0;
|
||||
|
||||
/*MIO_ASSERT (MIO_SIZEOF(mio_uint8_t) == MIO_SIZEOF(mio_bch_t));*/
|
||||
|
||||
|
Reference in New Issue
Block a user