/[rdesktop]/sourceforge.net/trunk/rdesktop/rdp.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 376 by jsorg71, Mon May 19 21:36:33 2003 UTC revision 381 by jsorg71, Fri May 30 21:59:56 2003 UTC
# Line 20  Line 20 
20    
21  #include "rdesktop.h"  #include "rdesktop.h"
22    
23  extern uint16 mcs_userid;  extern uint16 g_mcs_userid;
24  extern char username[16];  extern char username[16];
25  extern BOOL bitmap_compression;  extern BOOL bitmap_compression;
26  extern BOOL orders;  extern BOOL orders;
# Line 100  rdp_send_data(STREAM s, uint8 data_pdu_t Line 100  rdp_send_data(STREAM s, uint8 data_pdu_t
100    
101          out_uint16_le(s, length);          out_uint16_le(s, length);
102          out_uint16_le(s, (RDP_PDU_DATA | 0x10));          out_uint16_le(s, (RDP_PDU_DATA | 0x10));
103          out_uint16_le(s, (mcs_userid + 1001));          out_uint16_le(s, (g_mcs_userid + 1001));
104    
105          out_uint32_le(s, rdp_shareid);          out_uint32_le(s, rdp_shareid);
106          out_uint8(s, 0);        /* pad */          out_uint8(s, 0);        /* pad */
# Line 552  rdp_send_confirm_active(void) Line 552  rdp_send_confirm_active(void)
552    
553          out_uint16_le(s, 2 + 14 + caplen + sizeof(RDP_SOURCE));          out_uint16_le(s, 2 + 14 + caplen + sizeof(RDP_SOURCE));
554          out_uint16_le(s, (RDP_PDU_CONFIRM_ACTIVE | 0x10));      /* Version 1 */          out_uint16_le(s, (RDP_PDU_CONFIRM_ACTIVE | 0x10));      /* Version 1 */
555          out_uint16_le(s, (mcs_userid + 1001));          out_uint16_le(s, (g_mcs_userid + 1001));
556    
557          out_uint32_le(s, rdp_shareid);          out_uint32_le(s, rdp_shareid);
558          out_uint16_le(s, 0x3ea);        /* userid */          out_uint16_le(s, 0x3ea);        /* userid */

Legend:
Removed from v.376  
changed lines
  Added in v.381

  ViewVC Help
Powered by ViewVC 1.1.26