tdb: fix tdb_check() on other-endian tdbs.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Sep 2010 10:29:18 +0000 (19:59 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Sep 2010 10:29:18 +0000 (19:59 +0930)
commitf77708e96268d18abbfb038f4e78fe9e11a2856f
treeb2f1863a92a16e80eb320e9f19f304c6819efa90
parent82e5644c9dbf5c2e4b0c4183372e0a79203d32a5
tdb: fix tdb_check() on other-endian tdbs.

We must not endian-convert the magic string, just the rest.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb/common/check.c