file_ace.c Fix regression introduced in #bbd33e63af7fb5f51de719a986f52f00bc6ce614

This commit is contained in:
Christophe Grenier 2011-11-02 08:05:15 +01:00
parent 978df31cf2
commit b24ea8407a

View file

@ -102,6 +102,10 @@ static void file_check_ace(file_recovery_t *file_recovery)
(le16(h.flags)&1) ? le32(h.addsize):0);
#endif
/* Type 0=Archive header, 1=File block, 2=Recovery Record, 5 new_recovery ? */
if (h.type==0 && le16(h.size)==0)
{
return ;
}
if (h.type!=0 && h.type!=1 && h.type!=2 && h.type!=5)
{
#ifdef DEBUG_ACE