diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 08:13:28 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 08:13:28 +0930 |
commit | 5e0f62c3c20250a7fdb4be11f08bd407b11a204b (patch) | |
tree | da40fa8a8cb94dbbd5c9b5b4843f15326d06010b /source3/lib/eventlog/eventlog.c | |
parent | 2d7c85a971b2766e5ad6ce3664506deba87b53e1 (diff) | |
download | samba-5e0f62c3c20250a7fdb4be11f08bd407b11a204b.tar.gz samba-5e0f62c3c20250a7fdb4be11f08bd407b11a204b.tar.bz2 samba-5e0f62c3c20250a7fdb4be11f08bd407b11a204b.zip |
dbwrap_tdb: handle tdb2 return values properly.
TDB2 versions of tdb_parse_record etc return an error code, not -1.
Turn those into -1/0 in dbwrap_tdb to insulate the rest of the code
from that change.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/lib/eventlog/eventlog.c')
0 files changed, 0 insertions, 0 deletions