CVS: rdesktop tcp.c,1.28,1.29

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

Modified Files:
	tcp.c 
Log Message:
socklen_t is not available on all systems (for example mac osx 10.2)
replace it by an int right now


Index: tcp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/tcp.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** tcp.c	6 Mar 2005 21:11:17 -0000	1.28
--- tcp.c	30 Mar 2005 19:35:42 -0000	1.29
***************
*** 233,237 ****
  	static char ipaddr[32];
  	struct sockaddr_in sockaddr;
! 	socklen_t len = sizeof(sockaddr);
  	if (getsockname(sock, (struct sockaddr *) &sockaddr, &len) == 0)
  	{
--- 233,237 ----
  	static char ipaddr[32];
  	struct sockaddr_in sockaddr;
! 	int len = sizeof(sockaddr);
  	if (getsockname(sock, (struct sockaddr *) &sockaddr, &len) == 0)
  	{



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
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.