summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-01-20 12:08:09 +0000
committerPeter Powell <petpow@saberuk.com>2018-01-20 12:08:09 +0000
commitb18e6b5556f2deedf6ebf154477c4d69dcf02638 (patch)
tree6638d7aa7b936892fecffac999870778ee54ba2e /src/modules/m_ident.cpp
parentbe12938393585ba0994a1aeaafcb6fd879580506 (diff)
Pass an irc::socket::sockaddrs to SocketEngine::Connect().
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 806c70ad2..4b110ccd6 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -126,7 +126,7 @@ class IdentRequestSocket : public EventHandler
SocketEngine::NonBlocking(GetFd());
/* Attempt connection (nonblocking) */
- if (SocketEngine::Connect(this, &connaddr.sa, connaddr.sa_size()) == -1 && errno != EINPROGRESS)
+ if (SocketEngine::Connect(this, connaddr) == -1 && errno != EINPROGRESS)
{
this->Close();
throw ModuleException("connect() failed");