CVS: rdesktop tcp.c,1.25,1.26

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

Modified Files:
	tcp.c 
Log Message:
Fix for my last tcp.c fix to provide sensible error-messages again


Index: tcp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/tcp.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** tcp.c	25 Jun 2004 15:46:26 -0000	1.25
--- tcp.c	27 Jun 2004 19:17:24 -0000	1.26
***************
*** 149,153 ****
  	hints.ai_socktype = SOCK_STREAM;
  
! 	if (getaddrinfo(server, tcp_port_rdp_s, &hints, &res))
  	{
  		error("getaddrinfo: %s\n", gai_strerror(n));
--- 149,153 ----
  	hints.ai_socktype = SOCK_STREAM;
  
! 	if ((n = getaddrinfo(server, tcp_port_rdp_s, &hints, &res)))
  	{
  		error("getaddrinfo: %s\n", gai_strerror(n));



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
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.