From 5e8c075c6009045f7590b4d329544e3dc84f7f52 Mon Sep 17 00:00:00 2001 From: imaginos Date: Mon, 27 Mar 2006 19:49:10 +0000 Subject: [PATCH] fix my broken fix fix git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@718 726aef4b-f618-498e-8847-2d620e286838 --- Csocket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Csocket.cpp b/Csocket.cpp index a86ccf6a..b7ed6f70 100644 --- a/Csocket.cpp +++ b/Csocket.cpp @@ -62,6 +62,7 @@ int GetAddrInfo( const CS_STRING & sHostname, Csock *pSock, CSSockAddr & csSockA #else if( ( pRes->ai_socktype != SOCK_STREAM ) || ( pRes->ai_protocol != IPPROTO_TCP ) ) #endif /* __sun work around broken impl of getaddrinfo */ + continue; if( ( csSockAddr.GetAFRequire() != CSSockAddr::RAF_ANY ) && ( pRes->ai_family != csSockAddr.GetAFRequire() ) ) continue; // they requested a special type, so be certain we woop past anything unwanted