summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-12-26 22:01:07 +0000
committerjsorg71 <jsorg71>2009-12-26 22:01:07 +0000
commit35113b8f2a2fea289d65c6940e1c19da8858a8ef (patch)
tree7edc2650f2b2412cd64e77d3735202c1ecba567c
parente825783adf2903a9e64053c1c04bf265fe1b220b (diff)
downloadxrdp-proprietary-35113b8f2a2fea289d65c6940e1c19da8858a8ef.tar.gz
xrdp-proprietary-35113b8f2a2fea289d65c6940e1c19da8858a8ef.zip
remove some dead code
-rw-r--r--rdp/rdp_rdp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rdp/rdp_rdp.c b/rdp/rdp_rdp.c
index 28d20c8a..65a3fb17 100644
--- a/rdp/rdp_rdp.c
+++ b/rdp/rdp_rdp.c
@@ -869,7 +869,6 @@ rdp_rdp_process_data_pdu(struct rdp_rdp* self, struct stream* s)
{
int data_pdu_type;
int ctype;
- int clen;
int len;
int rv;
@@ -878,8 +877,7 @@ rdp_rdp_process_data_pdu(struct rdp_rdp* self, struct stream* s)
in_uint16_le(s, len);
in_uint8(s, data_pdu_type);
in_uint8(s, ctype);
- in_uint16_le(s, clen);
- clen -= 18;
+ in_uint8s(s, 2); /* clen */
switch (data_pdu_type)
{
case RDP_DATA_PDU_UPDATE: