Commit bd8d266d authored by Jan Včelák's avatar Jan Včelák 🚀

packet review: fix parameter type of knot_pkt_put

parent 290c7c3e
......@@ -463,7 +463,7 @@ int knot_pkt_put_opt(knot_pkt_t *pkt)
return KNOT_EOK;
}
int knot_pkt_put(knot_pkt_t *pkt, uint16_t compress, const knot_rrset_t *rr, uint32_t flags)
int knot_pkt_put(knot_pkt_t *pkt, uint16_t compress, const knot_rrset_t *rr, uint16_t flags)
{
dbg_packet("%s(%p, %u, %p, %u)\n", __func__, pkt, compress, rr, flags);
if (pkt == NULL || rr == NULL) {
......
......@@ -220,7 +220,7 @@ int knot_pkt_put_opt(knot_pkt_t *pkt);
* \param flags RRSet flags (set PF_FREE if you want RRSet to be freed with the packet).
* \return KNOT_EOK, KNOT_ESPACE, various errors
*/
int knot_pkt_put(knot_pkt_t *pkt, uint16_t compress, const knot_rrset_t *rr, uint32_t flags);
int knot_pkt_put(knot_pkt_t *pkt, uint16_t compress, const knot_rrset_t *rr, uint16_t flags);
/*! \brief Get description of the given packet section. */
const knot_pktsection_t *knot_pkt_section(const knot_pkt_t *pkt, knot_section_t section_id);
......
Markdown is supported
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