/[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 433 by jsorg71, Wed Jul 2 22:02:23 2003 UTC revision 436 by jsorg71, Mon Jul 28 18:13:30 2003 UTC
# Line 765  process_palette(STREAM s) Line 765  process_palette(STREAM s)
765          in_uint16_le(s, map.ncolours);          in_uint16_le(s, map.ncolours);
766          in_uint8s(s, 2);        /* pad */          in_uint8s(s, 2);        /* pad */
767    
768          map.colours = (COLOURENTRY *) xmalloc(3 * map.ncolours);          map.colours = (COLOURENTRY *) xmalloc(sizeof(COLOURENTRY) * map.ncolours);
769    
770          DEBUG(("PALETTE(c=%d)\n", map.ncolours));          DEBUG(("PALETTE(c=%d)\n", map.ncolours));
771    
# Line 889  rdp_main_loop(void) Line 889  rdp_main_loop(void)
889          }          }
890          return True;          return True;
891          /* We want to detect if we got a clean shutdown, but we          /* We want to detect if we got a clean shutdown, but we
892          can't. Se above.               can't. Se above.  
893          return False;  */             return False;  */
894  }  }
895    
896  /* Establish a connection up to the RDP layer */  /* Establish a connection up to the RDP layer */

Legend:
Removed from v.433  
changed lines
  Added in v.436

  ViewVC Help
Powered by ViewVC 1.1.26