summaryrefslogtreecommitdiff
path: root/lib/tdb_compat
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-01-30 09:25:50 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-01-30 09:25:50 +1030
commitae62d46a9fcfee9db177ddb3d0f1f2c28c889a35 (patch)
treeb477ab7c6636b224e6e15f13f3435e5317971047 /lib/tdb_compat
parentefbf52b4fe62eeed085961d7e2689b869bae63dc (diff)
downloadsamba-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/tdb_compat')
0 files changed, 0 insertions, 0 deletions