Commit c1aa9e8e authored by Mark Karpilovskij's avatar Mark Karpilovskij

journal: remove expected zone count check

fixes #626
parent 3ac1725a
......@@ -1995,11 +1995,6 @@ int journal_db_list_zones(journal_db_t **db, list_t *zones)
if (list_size(zones) < 1) {
txn->ret = KNOT_ENOENT;
}
if (list_size(zones) != expected_count) {
txn->ret = KNOT_EMALF;
ptrlist_deep_free(zones, NULL);
init_list(zones);
}
return txn->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