1
0
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:
Gregor Beck 2011-07-05 13:41:12 +02:00 committed by Michael Adam
parent 893805b99c
commit f5b7d87c25

View File

@ -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);