checked magic!
This commit is contained in:
parent
300f21776e
commit
8d271d6cc3
1 changed files with 0 additions and 1 deletions
|
|
@ -285,7 +285,6 @@ unpackarenahead(ArenaHead *head, u8int *buf)
|
||||||
seterr(ECorrupt, "arena has wrong magic number: %s expected ArenaHeadMagic (%#lux)", fmtmagic(fbuf, m), ArenaHeadMagic);
|
seterr(ECorrupt, "arena has wrong magic number: %s expected ArenaHeadMagic (%#lux)", fmtmagic(fbuf, m), ArenaHeadMagic);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* XXX check magic! */
|
|
||||||
|
|
||||||
p += U32Size;
|
p += U32Size;
|
||||||
head->version = U32GET(p);
|
head->version = U32GET(p);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue