From ea0e25505811feff7a6d350f772466f315e048cb Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 13 Apr 2015 09:28:29 +0200 Subject: [PATCH] Fixed broken pad setting. --- libfreerdp/core/rdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/core/rdp.c b/libfreerdp/core/rdp.c index 6f643487b..572bbadd1 100644 --- a/libfreerdp/core/rdp.c +++ b/libfreerdp/core/rdp.c @@ -455,7 +455,7 @@ static BOOL rdp_security_stream_out(rdpRdp* rdp, wStream* s, int length, UINT32 *pad = 8 - (length % 8); if (*pad == 8) - pad = 0; + *pad = 0; if (*pad) memset(data+length, 0, *pad);