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

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

revision 473 by forsberg, Sat Sep 27 12:14:25 2003 UTC revision 536 by matthewc, Fri Oct 31 04:29:57 2003 UTC
# Line 81  channel_send(STREAM s, VCHANNEL * channe Line 81  channel_send(STREAM s, VCHANNEL * channe
81  {  {
82          uint32 length, flags;          uint32 length, flags;
83          uint32 thislength, remaining;          uint32 thislength, remaining;
84          char *data;          uint8 *data;
85    
86          /* first fragment sent in-place */          /* first fragment sent in-place */
87          s_pop_layer(s, channel_hdr);          s_pop_layer(s, channel_hdr);
# Line 89  channel_send(STREAM s, VCHANNEL * channe Line 89  channel_send(STREAM s, VCHANNEL * channe
89    
90          DEBUG_CLIPBOARD(("channel_send, length = %d\n", length));          DEBUG_CLIPBOARD(("channel_send, length = %d\n", length));
91    
92          thislength = MIN(length, CHANNEL_CHUNK_LENGTH);            thislength = MIN(length, CHANNEL_CHUNK_LENGTH);
93  /* Note: In the original clipboard implementation, this number was  /* Note: In the original clipboard implementation, this number was
94     1592, not 1600. However, I don't remember the reason and 1600 seems     1592, not 1600. However, I don't remember the reason and 1600 seems
95     to work so.. This applies only to *this* length, not the length of     to work so.. This applies only to *this* length, not the length of
# Line 132  channel_process(STREAM s, uint16 mcs_cha Line 132  channel_process(STREAM s, uint16 mcs_cha
132  {  {
133          uint32 length, flags;          uint32 length, flags;
134          uint32 thislength;          uint32 thislength;
135          VCHANNEL *channel;          VCHANNEL *channel = NULL;
136          unsigned int i;          unsigned int i;
137          STREAM in;          STREAM in;
138    

Legend:
Removed from v.473  
changed lines
  Added in v.536

  ViewVC Help
Powered by ViewVC 1.1.26