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>
Thu, 7 Oct 2010 04:35:58 +0000 (15:05 +1030)
commit525390863ad39acea08ceb88531dc59d118fcad4
tree4185d4c54d0b10dd1783dc966fe0d588da1a0d9a
parent2558eb250011893d09dbeaedaffeefa0e397142f
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