mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3:dbwrap: dbwrap_parse_record() should always return -1 on "not found"
Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
893805b99c
commit
f5b7d87c25
@ -76,7 +76,7 @@ int dbwrap_fallback_parse_record(struct db_context *db, TDB_DATA key,
|
||||
|
||||
res = db->fetch(db, talloc_tos(), key, &data);
|
||||
if (res != 0) {
|
||||
return res;
|
||||
return -1;
|
||||
}
|
||||
|
||||
res = parser(key, data, private_data);
|
||||
|
Loading…
Reference in New Issue
Block a user