aboutsummaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-01-20 12:08:09 +0000
committerGravatar Peter Powell2018-01-20 12:08:09 +0000
commitb18e6b5556f2deedf6ebf154477c4d69dcf02638 (patch)
tree6638d7aa7b936892fecffac999870778ee54ba2e /src/inspsocket.cpp
parentRemove duplicated code in LocalUser::GetServerPort(). (diff)
Pass an irc::socket::sockaddrs to SocketEngine::Connect().
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index a564d3eec..709ad443b 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -96,7 +96,7 @@ BufferedSocketError BufferedSocket::BeginConnect(const irc::sockets::sockaddrs&
SocketEngine::NonBlocking(fd);
- if (SocketEngine::Connect(this, &dest.sa, dest.sa_size()) == -1)
+ if (SocketEngine::Connect(this, dest) == -1)
{
if (errno != EINPROGRESS)
return I_ERR_CONNECT;