Commit 6d3f7704 authored by Marek Vavrusa's avatar Marek Vavrusa

Fixed debug & integrity checks build.

parent 53f6f17b
......@@ -418,7 +418,7 @@ int main(int argc, char **argv)
knot_dname_t *zdn =
knot_dname_from_str(zone);
knot_zone_t *z =
knot_zonedb_find_zone(server->nameserver->zone_db,
knot_zonedb_find(server->nameserver->zone_db,
zdn);
int ic_ret =
knot_zone_contents_integrity_check(z->contents);
......
......@@ -869,7 +869,6 @@ int xfr_worker(dthread_t *thread)
}
/* Accept requests. */
dbg_xfr_verb("xfr: worker=%p starting\n", w);
for (;;) {
/* Populate pool with new requests. */
......@@ -987,7 +986,6 @@ int xfr_worker(dthread_t *thread)
xfr_task_free(rq);
}
dbg_xfr_verb("xfr: worker=%p finished.\n", w);
fdset_clear(&set);
free(buf);
return KNOT_EOK;
......
......@@ -101,7 +101,7 @@ int knot_compr_put_dname(const knot_dname_t *dname, uint8_t *dst, uint16_t max,
compr->suffix.pos = compr->wire_pos;
compr->suffix.labels = orig_labels;
}
dbg_packet("%s: compressed to %u bytes (match=%zu,@%hu)\n",
dbg_packet("%s: compressed to %u bytes (match=%zu,@%zu)\n",
__func__, written, dname - match_begin, compr->wire_pos);
return written;
}
......
......@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
if (knot_zonedb_find(db, dname) == zones[i]) {
++nr_passed;
} else {
diag("knot_zonedb_find_zone(%s) failed", zone_list[i]);
diag("knot_zonedb_find(%s) failed", zone_list[i]);
}
knot_dname_free(&dname);
}
......
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