tdb2: don't return -1 (ie. TDB_ERR_CORRUPT) on transaction write fail.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 2 Sep 2011 06:13:20 +0000 (15:43 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 2 Sep 2011 06:13:20 +0000 (15:43 +0930)
commit077bdae6877d26749987b26a1b5b28cdba5ebbdd
treedf9facf394c7e49d699053ccaf9ea944e25cdd8d
parent6d3832ee613adeb9ae7ed6454996ffa39c32650f
tdb2: don't return -1 (ie. TDB_ERR_CORRUPT) on transaction write fail.

A left-over -1 return; should be returning ecode (probably TDB_ERR_IO).
ccan/tdb2/transaction.c