Small PackHeader update.

committer: mfx <mfx> 979756656 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2001-01-17 18:37:36 +00:00
parent d8baf6d1e8
commit bf52b5eb06
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ void PackHeader::putPackHeader(upx_bytep p)
assert(get_le32(p) == UPX_MAGIC_LE32);
if (get_le32(p+4) != UPX_MAGIC2_LE32)
{
printf("%x %x\n", get_le32(p+4), UPX_MAGIC2_LE32);
//printf("%x %x\n", get_le32(p+4), UPX_MAGIC2_LE32);
throwBadLoader();
}
@@ -181,7 +181,7 @@ void PackHeader::putPackHeader(upx_bytep p)
{
if (p[size - 1] != old_chksum)
{
printf("old_checksum: %d %d\n", p[size - 1], old_chksum);
//printf("old_checksum: %d %d\n", p[size - 1], old_chksum);
throwBadLoader();
}
}