diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-06-20 18:40:31 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-06-20 11:18:35 +0200 |
commit | 868d77bc5b38e628f74d5cd03c5f87eb5a666b09 (patch) | |
tree | b27c09c9407fb2f90dbd2d0ecee63320dcaff497 /source3/groupdb/mapping_tdb.c | |
parent | d6251996fa5b8371c0f7449825b5d1788da95dd0 (diff) | |
download | samba-868d77bc5b38e628f74d5cd03c5f87eb5a666b09.tar.gz samba-868d77bc5b38e628f74d5cd03c5f87eb5a666b09.tar.bz2 samba-868d77bc5b38e628f74d5cd03c5f87eb5a666b09.zip |
tdb_chainlock: check returns for 0, not -1.
TDB2 returns a negative error number on failure. This is compatible
if we always check for != 0 instead of == -1.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/groupdb/mapping_tdb.c')
0 files changed, 0 insertions, 0 deletions