summaryrefslogtreecommitdiffstats
path: root/common/network
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2008-11-18 16:08:25 +0000
committerAdam Tkac <atkac@redhat.com>2008-11-18 16:08:25 +0000
commit1288813476941b2e8c195e39e58a4b16ec86fa72 (patch)
treebd3c86ed6a878fa7155eba6db597b0e31fcc68da /common/network
parent5eeaa3b5ca12b6c189c1f065b3fbe2877218d9a4 (diff)
downloadtigervnc-1288813476941b2e8c195e39e58a4b16ec86fa72.tar.gz
tigervnc-1288813476941b2e8c195e39e58a4b16ec86fa72.zip
[Cleanup] Removed unneeded else branch in TcpSocket constructor
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3184 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/network')
-rw-r--r--common/network/TcpSocket.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx
index 12c7266b..4b9da3bc 100644
--- a/common/network/TcpSocket.cxx
+++ b/common/network/TcpSocket.cxx
@@ -201,8 +201,6 @@ TcpSocket::TcpSocket(const char *host, int port)
#ifdef HAVE_GETADDRINFO
if (result == 0)
break;
- else
- continue;
}
freeaddrinfo(ai);