From 35113b8f2a2fea289d65c6940e1c19da8858a8ef Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sat, 26 Dec 2009 22:01:07 +0000 Subject: [PATCH] remove some dead code --- rdp/rdp_rdp.c | 4 +--- 1 file changed, 1 insertion(+), 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: