From e16245fb2dbb350ecf399aee8f21996805996313 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sun, 23 Dec 2007 06:45:47 +0000 Subject: [PATCH] rdp endian is always le git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1422 423420c4-83ab-492f-b58f-81f9feb106b5 --- rdp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rdp.c b/rdp.c index 4369b7b..53675c9 100644 --- a/rdp.c +++ b/rdp.c @@ -1030,7 +1030,7 @@ process_system_pointer_pdu(STREAM s) { uint16 system_pointer_type; - in_uint16(s, system_pointer_type); + in_uint16_le(s, system_pointer_type); switch (system_pointer_type) { case RDP_NULL_POINTER: @@ -1238,10 +1238,10 @@ process_data_pdu(STREAM s, uint32 * ext_disc_reason) struct stream *ns = &(g_mppc_dict.ns); in_uint8s(s, 6); /* shareid, pad, streamid */ - in_uint16(s, len); + in_uint16_le(s, len); in_uint8(s, data_pdu_type); in_uint8(s, ctype); - in_uint16(s, clen); + in_uint16_le(s, clen); clen -= 18; if (ctype & RDP_MPPC_COMPRESSED)