diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-30 09:25:50 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-30 09:25:50 +1030 |
commit | ae62d46a9fcfee9db177ddb3d0f1f2c28c889a35 (patch) | |
tree | b477ab7c6636b224e6e15f13f3435e5317971047 /lib/talloc/doc | |
parent | efbf52b4fe62eeed085961d7e2689b869bae63dc (diff) | |
download | samba-ae62d46a9fcfee9db177ddb3d0f1f2c28c889a35.tar.gz samba-ae62d46a9fcfee9db177ddb3d0f1f2c28c889a35.tar.bz2 samba-ae62d46a9fcfee9db177ddb3d0f1f2c28c889a35.zip |
ldb_wrap.c: fix TDB2-incompatible API usage.
Auditing revealed one place still expecting a -1 return on failure:
tdb2 returns the (negative) errcode directly, so the portable way to
do this is to check for != 0.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/talloc/doc')
0 files changed, 0 insertions, 0 deletions