Commit e0d84537 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

confdb: fix id iterating if no id at the end of confdb

parent 05d1507b
......@@ -775,6 +775,7 @@ int conf_db_iter_begin(
// Check for no section id.
out.code = check_iter(conf, &out);
if (out.code != KNOT_EOK) {
out.code = KNOT_ENOENT; // Treat all errors as no entry.
goto iter_begin_error;
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