diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-03-26 14:33:17 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-03-29 15:14:30 +1030 |
commit | 3acce707a32a28c309133583b8cd1a554f19a8b3 (patch) | |
tree | bdc3c7320700e027fbe9b24cc2f977e079ae3680 /lib/ccan | |
parent | e36622f92616b6982bf875563728dc8cdf97c93c (diff) | |
download | samba-3acce707a32a28c309133583b8cd1a554f19a8b3.tar.gz samba-3acce707a32a28c309133583b8cd1a554f19a8b3.tar.bz2 samba-3acce707a32a28c309133583b8cd1a554f19a8b3.zip |
tdb2: fix prototype in tdb1 code.
We were handing an int-returning function where we should hand an enum TDB_ERROR
returning function. Worse, it was returning 0/-1 instead of 0/TDB_ERR_*.
Fortunately, it's only compared against success, but the Solaris compiler
warns about it, and it's not correct anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/ccan')
0 files changed, 0 insertions, 0 deletions