Skip to content
Snippets Groups Projects
Commit 6f4add7e authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

server: fixed integrity check build

parent 63d9ed02
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ static volatile short sig_stopping = 0;
static volatile short sig_integrity_check = 0;
static void check_integrity(server_t *server) {
const knot_zonedb_t *zonedb = server->nameserver->zone_db;
const knot_zonedb_t *zonedb = server->zone_db;
knot_zonedb_iter_t it;
knot_zonedb_iter_begin(zonedb, &it);
......@@ -419,7 +419,7 @@ int main(int argc, char **argv)
#ifdef INTEGRITY_CHECK
if (sig_integrity_check) {
sig_integrity_check = 0;
check_integrity(server);
check_integrity(&server);
}
#endif /* INTEGRITY_CHECK */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment