rdp endian is always le

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1422 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Jay Sorg 2007-12-23 06:45:47 +00:00
parent ac49af5c6a
commit e16245fb2d

6
rdp.c
View File

@ -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)