/[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 314 by jsorg71, Fri Feb 7 23:43:37 2003 UTC revision 340 by forsberg, Thu Mar 6 14:11:17 2003 UTC
# Line 30  extern BOOL desktop_save; Line 30  extern BOOL desktop_save;
30  uint8 *next_packet;  uint8 *next_packet;
31  uint32 rdp_shareid;  uint32 rdp_shareid;
32    
33    #if WITH_DEBUG
34    static uint32 packetno;
35    #endif
36    
37  /* Initialise an RDP packet */  /* Initialise an RDP packet */
38  static STREAM  static STREAM
39  rdp_init(int maxlen)  rdp_init(int maxlen)
# Line 91  rdp_recv(uint8 * type) Line 95  rdp_recv(uint8 * type)
95          *type = pdu_type & 0xf;          *type = pdu_type & 0xf;
96    
97  #if WITH_DEBUG  #if WITH_DEBUG
98          DEBUG(("RDP packet (type %x):\n", *type));          DEBUG(("RDP packet #%d, (type %x):\n", ++packetno, *type));
99          hexdump(next_packet, length);          hexdump(next_packet, length);
100  #endif /*  */  #endif /*  */
101    
# Line 583  process_bitmap_updates(STREAM s) Line 587  process_bitmap_updates(STREAM s)
587                          bmpdata = xmalloc(width * height * Bpp);                          bmpdata = xmalloc(width * height * Bpp);
588                          for (y = 0; y < height; y++)                          for (y = 0; y < height; y++)
589                          {                          {
590                                  in_uint8a(s, &bmpdata[(height - y - 1) * (width * Bpp)], width * Bpp);                                  in_uint8a(s, &bmpdata[(height - y - 1) * (width * Bpp)],
591                                              width * Bpp);
592                          }                          }
593                          ui_paint_bitmap(left, top, cx, cy, width, height, bmpdata);                          ui_paint_bitmap(left, top, cx, cy, width, height, bmpdata);
594                          xfree(bmpdata);                          xfree(bmpdata);

Legend:
Removed from v.314  
changed lines
  Added in v.340

  ViewVC Help
Powered by ViewVC 1.1.26