diff options
author | jsorg71 <jsorg71> | 2009-12-26 22:01:07 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2009-12-26 22:01:07 +0000 |
commit | 35113b8f2a2fea289d65c6940e1c19da8858a8ef (patch) | |
tree | 7edc2650f2b2412cd64e77d3735202c1ecba567c | |
parent | e825783adf2903a9e64053c1c04bf265fe1b220b (diff) | |
download | xrdp-proprietary-35113b8f2a2fea289d65c6940e1c19da8858a8ef.tar.gz xrdp-proprietary-35113b8f2a2fea289d65c6940e1c19da8858a8ef.zip |
remove some dead code
-rw-r--r-- | rdp/rdp_rdp.c | 4 |
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: |