Commit 864dd22e authored by Michael Tremer's avatar Michael Tremer

database: Fix broken search for networks with flags

The search was ended after the first network. No matter if
it matched, or not.
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent fae36e81
......@@ -1208,6 +1208,8 @@ LOC_EXPORT int loc_database_enumerator_next_network(
!loc_network_match_flag(*network, enumerator->flags)) {
loc_network_unref(*network);
*network = NULL;
continue;
}
return 0;
......
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