From: Rusty Russell Date: Wed, 31 Aug 2011 05:48:16 +0000 (+0930) Subject: tdb2: make TDB1 code use tdb2's TDB_ERROR and tdb_logerr() X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=919937354a331bb964564a11b5a5b80403ff8db9;hp=919937354a331bb964564a11b5a5b80403ff8db9 tdb2: make TDB1 code use tdb2's TDB_ERROR and tdb_logerr() To do this, we make sure that the first few fields of tdb1_context and tdb_context are the same. This sweep also fixes up a few paths where we weren't setting tdb->ecode before our old logging function. ---