CVS: rdesktop rdp.c,1.70,1.71 secure.c,1.48,1.49

Jay Sorg <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16321

Modified Files:
	rdp.c secure.c 
Log Message:
bring the channel packets through rdp_loop so the uiports can enjoy the channel data

Index: rdp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdp.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** rdp.c	2 Oct 2004 01:01:57 -0000	1.70
--- rdp.c	4 Oct 2004 03:21:58 -0000	1.71
***************
*** 59,63 ****
  		if (rdp_s == NULL)
  			return NULL;
! 		if (rdpver != 3)
  		{
  			/* rdp5_process should move g_next_packet ok */
--- 59,69 ----
  		if (rdp_s == NULL)
  			return NULL;
! 		if (rdpver == 0xff)
! 		{
! 			g_next_packet = rdp_s->end;
! 			*type = 0;
! 			return rdp_s;
! 		}
! 		else if (rdpver != 3)
  		{
  			/* rdp5_process should move g_next_packet ok */

Index: secure.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/secure.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** secure.c	31 Jul 2004 13:07:41 -0000	1.48
--- secure.c	4 Oct 2004 03:21:58 -0000	1.49
***************
*** 854,858 ****
  		{
  			channel_process(s, channel);
! 			continue;
  		}
  
--- 854,859 ----
  		{
  			channel_process(s, channel);
! 			*rdpver = 0xff;
! 			return s;
  		}
  



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.