diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-03-22 15:35:33 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-03-22 15:35:33 +0100 |
commit | cff5145907908702ef2fcadb9a2f7f1be4c496be (patch) | |
tree | 1d17652944ab4e0d063480e4b6861ebd94bf9622 /src/libknot | |
parent | 621622287b6da91b755565b9133c4e53f8a0251d (diff) | |
download | knot-upstream/1.2.0_rc4.tar.gz |
Imported Upstream version 1.2.0~rc4upstream/1.2.0_rc4
Diffstat (limited to 'src/libknot')
-rw-r--r-- | src/libknot/packet/packet.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libknot/packet/packet.c b/src/libknot/packet/packet.c index b6381c4..2e6e922 100644 --- a/src/libknot/packet/packet.c +++ b/src/libknot/packet/packet.c @@ -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; |