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

review: dig_exec, revert const modifier removal

parent 05b82f0e
......@@ -226,7 +226,7 @@ static void check_reply_question(const knot_pkt_t *reply,
}
}
static int64_t first_serial_check(knot_pkt_t *reply)
static int64_t first_serial_check(const knot_pkt_t *reply)
{
const knot_pktsection_t *answer = knot_pkt_section(reply, KNOT_ANSWER);
......@@ -243,7 +243,7 @@ static int64_t first_serial_check(knot_pkt_t *reply)
}
}
static bool last_serial_check(const uint32_t serial, knot_pkt_t *reply)
static bool last_serial_check(const uint32_t serial, const knot_pkt_t *reply)
{
const knot_pktsection_t *answer = knot_pkt_section(reply, KNOT_ANSWER);
if (answer->count <= 0) {
......
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