Add if debug around invalid package print
This commit is contained in:
parent
61c2ca8458
commit
7047c67fa5
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user