tdb2: tdb_parse_record() returns negative errors, not -1.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Jun 2011 09:10:32 +0000 (18:40 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Jun 2011 09:18:35 +0000 (11:18 +0200)
commit9eaaf1fc67697a640260169ec26510806105e91f
treea25282ee45490a20e96efe562902838ad3b6a929
parent42506c4a3e2da46d8df013e2bc17398b3193b381
tdb2: tdb_parse_record() returns negative errors, not -1.

Fixup callers to tdb_parse_record() to be compatible with tdb2.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
source3/lib/dbwrap_tdb.c
source3/lib/gencache.c