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)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 8 Oct 2010 01:54:08 +0000 (12:54 +1100)
commit5fe0e7fcee8f27cad2fe321ef503112b093570cb
tree0323070a31996cf9f662776a16bb53076c5a99d2
parent30300b3a4b26ad2c8c5cf89ef7645f32878773e0
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