Fixed broken pad setting.

This commit is contained in:
Armin Novak 2015-04-13 09:28:29 +02:00
parent 423b15108d
commit ea0e255058

View File

@ -455,7 +455,7 @@ static BOOL rdp_security_stream_out(rdpRdp* rdp, wStream* s, int length, UINT32
*pad = 8 - (length % 8); *pad = 8 - (length % 8);
if (*pad == 8) if (*pad == 8)
pad = 0; *pad = 0;
if (*pad) if (*pad)
memset(data+length, 0, *pad); memset(data+length, 0, *pad);