/[rdesktop]/sourceforge.net/trunk/rdesktop/orders.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/orders.c

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

revision 725 by jsorg71, Sun Jun 27 17:51:54 2004 UTC revision 726 by stargo, Sun Jun 27 18:53:08 2004 UTC
# Line 879  process_secondary_order(STREAM s) Line 879  process_secondary_order(STREAM s)
879          /* The length isn't calculated correctly by the server.          /* The length isn't calculated correctly by the server.
880           * For very compact orders the length becomes negative           * For very compact orders the length becomes negative
881           * so a signed integer must be used. */           * so a signed integer must be used. */
882          sint16 length;          uint16 length;
883          uint16 flags;          uint16 flags;
884          uint8 type;          uint8 type;
885          uint8 *next_order;          uint8 *next_order;
886    
887          in_uint16_le(s, (uint16) length);          in_uint16_le(s, length);
888          in_uint16_le(s, flags);         /* used by bmpcache2 */          in_uint16_le(s, flags);         /* used by bmpcache2 */
889          in_uint8(s, type);          in_uint8(s, type);
890    
891          next_order = s->p + length + 7;          next_order = s->p + (sint16)length + 7;
892    
893          switch (type)          switch (type)
894          {          {

Legend:
Removed from v.725  
changed lines
  Added in v.726

  ViewVC Help
Powered by ViewVC 1.1.26