Skip to content
Snippets Groups Projects
Commit f7cd095f authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed debug build.

parent 1b93cf15
No related branches found
No related tags found
No related merge requests found
......@@ -307,9 +307,6 @@ static int knot_packet_parse_question(const uint8_t *wire, size_t *pos,
return KNOT_EMALF;
}
}
if (*pos != i + 1) {
dbg_packet("Parsed dname expected len=%zu, parsed=%zu.\n", i+1-bp, *pos-bp);
}
question->qtype = knot_wire_read_u16(wire + i + 1);
question->qclass = knot_wire_read_u16(wire + i + 3);
*pos += 4;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment