]> source.dussan.org Git - tigervnc.git/commitdiff
[Cleanup] Removed unneeded else branch in TcpSocket constructor
authorAdam Tkac <atkac@redhat.com>
Tue, 18 Nov 2008 16:08:25 +0000 (16:08 +0000)
committerAdam Tkac <atkac@redhat.com>
Tue, 18 Nov 2008 16:08:25 +0000 (16:08 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3184 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/network/TcpSocket.cxx

index 12c7266b3761c3b6915421d466f6bd9f274a3441..4b9da3bc6112ef4a3a5c7dbe32e5e5687946275e 100644 (file)
@@ -201,8 +201,6 @@ TcpSocket::TcpSocket(const char *host, int port)
 #ifdef HAVE_GETADDRINFO
     if (result == 0)
       break;
-    else
-      continue;
   }
 
   freeaddrinfo(ai);