Commit 3874988b authored by Daniel Salzman's avatar Daniel Salzman

ixfr: fix function return detection (coverity)

parent e9238b2a
......@@ -121,7 +121,7 @@ static int ixfr_process_changeset(knot_pkt_t *pkt, const void *item,
/* Put Add RRSets. */
if (ixfr->state == IXFR_ADD) {
if (iter_empty(ixfr)) {
changeset_iter_add(&ixfr->cur, chgset, false);
ret = changeset_iter_add(&ixfr->cur, chgset, false);
if (ret != KNOT_EOK) {
return ret;
}
......
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