]> git.ipfire.org Git - location/libloc.git/commit - src/python/database.c
database: Have the lookup function return 0 even if nothing was found
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 May 2024 16:39:57 +0000 (16:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 May 2024 16:39:57 +0000 (16:39 +0000)
commit9e72b8a0c56403ca7d23c6a767d66038e0d63c14
tree61803b36a3ee05d86b83ae67f4c5055db887a499
parent63762921e2890e5260d5d2c954a32e769f6889eb
database: Have the lookup function return 0 even if nothing was found

This is a potentially breaking change, but I think we need to do this as
the previous return code was not very descriptive.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.c
src/lua/database.c
src/python/database.c
src/test-network.c