Author: akhaldi
Date: Thu Nov 24 11:16:56 2016
New Revision: 73370
URL:
http://svn.reactos.org/svn/reactos?rev=73370&view=rev
Log:
[MSTSC] Addendum to r73368. Peter, please review. CORE-9321
Modified:
trunk/reactos/base/applications/mstsc/tcp.c
Modified: trunk/reactos/base/applications/mstsc/tcp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mstsc/tc…
==============================================================================
--- trunk/reactos/base/applications/mstsc/tcp.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mstsc/tcp.c [iso-8859-1] Thu Nov 24 11:16:56 2016
@@ -593,7 +593,7 @@
read_buf_size += 1024;
}
- size = recv(g_sock, read_buf+in_bufs[0].cbBuffer, read_buf_size-in_bufs[0].cbBuffer,
0);
+ size = recv(g_sock, (char *)read_buf + in_bufs[0].cbBuffer, read_buf_size -
in_bufs[0].cbBuffer, 0);
if (size < 1)
{
error("recv failed: %d (%s)\n", size, TCP_STRERROR);