CVS: rdesktop/vnc vnc.c,1.5,1.6

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop/vnc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8571/vnc

Modified Files:
	vnc.c 
Log Message:
Indent fixes

Index: vnc.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/vnc/vnc.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** vnc.c	11 Sep 2004 17:08:49 -0000	1.5
--- vnc.c	7 Oct 2004 13:00:29 -0000	1.6
***************
*** 263,267 ****
  					uint32_t ext_disc_reason;
  					printf("Connection successful.\n");
! 					rdp_main_loop(&deactivated,&ext_disc_reason);
  					printf("Disconnecting...\n");
  					rdp_disconnect();
--- 263,267 ----
  					uint32_t ext_disc_reason;
  					printf("Connection successful.\n");
! 					rdp_main_loop(&deactivated, &ext_disc_reason);
  					printf("Disconnecting...\n");
  					rdp_disconnect();
***************
*** 468,472 ****
  	cursor->source = 0;
  	cursor->richSource = cdata;
! 	cursor->cleanup = 0; // workaround: this produces a memleak
  
  	cursor->backRed = cursor->backGreen = cursor->backBlue = 0xffff;
--- 468,472 ----
  	cursor->source = 0;
  	cursor->richSource = cdata;
! 	cursor->cleanup = 0;	// workaround: this produces a memleak
  
  	cursor->backRed = cursor->backGreen = cursor->backBlue = 0xffff;
***************
*** 1367,1377 ****
  	server->paddedWidthInBytes = g_width;
  
! 	iter=rfbGetClientIterator(server);
! 	while((cl=rfbClientIteratorNext(iter)))
! 		if(cl->useNewFBSize)
  			cl->newFBSizePending = TRUE;
  		else
! 			rfbLog("Warning: Client %s does not support NewFBSize!\n ",cl->host);
  	rfbReleaseClientIterator(iter);
  }
- 
--- 1367,1376 ----
  	server->paddedWidthInBytes = g_width;
  
! 	iter = rfbGetClientIterator(server);
! 	while ((cl = rfbClientIteratorNext(iter)))
! 		if (cl->useNewFBSize)
  			cl->newFBSizePending = TRUE;
  		else
! 			rfbLog("Warning: Client %s does not support NewFBSize!\n ", cl->host);
  	rfbReleaseClientIterator(iter);
  }



-------------------------------------------------------
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.