CVS: rdesktop rdp.c,1.89,1.90

Jeroen Meijer <[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-serv32731

Modified Files:
	rdp.c 
Log Message:
Fix immediate disconnect when connecting to Windows XP RTM

Index: rdp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdp.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** rdp.c	20 May 2005 22:09:32 -0000	1.89
--- rdp.c	31 May 2005 18:49:05 -0000	1.90
***************
*** 487,490 ****
--- 487,494 ----
  {
  	STREAM s;
+ 	static int current_status = 1;
+ 
+ 	if (current_status == status)
+ 		return;
  
  	s = rdp_init_data(12);
***************
*** 506,509 ****
--- 510,514 ----
  	s_mark_end(s);
  	rdp_send_data(s, RDP_DATA_PDU_CLIENT_WINDOW_STATUS);
+ 	current_status = status;
  }
  



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
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.