CVS: rdesktop rdesktop.c,1.117,1.118

Michael Gernoth <[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-serv13630

Modified Files:
	rdesktop.c 
Log Message:
don't allow rdp-compression for depth > 8


Index: rdesktop.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdesktop.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -d -r1.117 -r1.118
*** rdesktop.c	23 Nov 2004 13:29:12 -0000	1.117
--- rdesktop.c	2 Mar 2005 10:16:31 -0000	1.118
***************
*** 691,694 ****
--- 691,700 ----
  	}
  
+ 	if ((flags & RDP_COMPRESSION) && (g_server_bpp > 8))
+ 	{
+ 		warning("rdp compression not supported for bpp > 8, compression disabled\n");
+ 		flags ^= RDP_COMPRESSION;
+ 	}
+ 
  	if (prompt_password && read_password(password, sizeof(password)))
  		flags |= RDP_LOGON_AUTO;



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
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.