1
0
mirror of synced 2025-02-12 16:54:34 +01:00

Add if debug around invalid package print

This commit is contained in:
Nico Giansanti 2019-04-16 05:46:12 +03:00
parent 61c2ca8458
commit 7047c67fa5

View File

@ -409,7 +409,9 @@ unsigned long process_stream(unsigned char *stream, unsigned long srcsize, unsig
// Ignore weird packages // Ignore weird packages
if (pstr[1] != 0x00 && pstr[1] != 0x01 && pstr[1] != 0xFF) if (pstr[1] != 0x00 && pstr[1] != 0x01 && pstr[1] != 0xFF)
{ {
#ifdef _DEBUG
OutputDebugStringA("Invalid package received!"); OutputDebugStringA("Invalid package received!");
#endif
return 0; return 0;
} }