summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_iso.c
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2014-07-12 07:19:02 +0300
committerspeidy <speidy@gmail.com>2014-07-12 07:19:02 +0300
commit194ad781ba4e5939de815466d6ae5393daf7b86c (patch)
treee9f088544aa9400a658dc4394a0195894e53f149 /libxrdp/xrdp_iso.c
parent13a376ae386c842309ef05668b1e4f7de1d94b2d (diff)
downloadxrdp-proprietary-194ad781ba4e5939de815466d6ae5393daf7b86c.tar.gz
xrdp-proprietary-194ad781ba4e5939de815466d6ae5393daf7b86c.zip
libxrdp: another len fix
Diffstat (limited to 'libxrdp/xrdp_iso.c')
-rw-r--r--libxrdp/xrdp_iso.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libxrdp/xrdp_iso.c b/libxrdp/xrdp_iso.c
index 35274266..633dc5a9 100644
--- a/libxrdp/xrdp_iso.c
+++ b/libxrdp/xrdp_iso.c
@@ -220,7 +220,7 @@ xrdp_iso_send_cc(struct xrdp_iso *self)
len = (int) (s->end - holdp);
len_indicator = (int) (s->end - len_indicator_ptr) - 1;
- len_ptr[0] = len << 8;
+ len_ptr[0] = len >> 8;
len_ptr[1] = len;
len_indicator_ptr[0] = len_indicator;
@@ -372,6 +372,9 @@ xrdp_iso_incoming(struct xrdp_iso *self)
}
}
+ /* set things for tls connection */
+
+
/* send connection confirm back to client */
if (xrdp_iso_send_cc(self) != 0)
{