Skip to content
Snippets Groups Projects
Commit e806c3e8 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Removed debug code - would fail to CNAME queries.

parent 3017b67b
Branches
Tags
No related merge requests found
......@@ -506,9 +506,6 @@ int knot_pkt_put(knot_pkt_t *pkt, uint16_t compr_hint, const knot_rrset_t *rr, c
memset(rrinfo, 0, sizeof(knot_rrinfo_t));
rrinfo->pos = pkt->size;
rrinfo->flags = flags;
#ifndef NDEBUG
assert(!rrsigs || knot_dname_is_equal(rr->owner, rrsigs->owner));
#endif
rrinfo->compress_ptr[0] = compr_hint;
rrinfo->rrsigs = rr->type != KNOT_RRTYPE_RRSIG ? rrsigs : NULL;
pkt->rr[pkt->rrset_count] = rr;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment