From b18e6b5556f2deedf6ebf154477c4d69dcf02638 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 20 Jan 2018 12:08:09 +0000 Subject: Pass an irc::socket::sockaddrs to SocketEngine::Connect(). --- src/modules/m_ident.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_ident.cpp') 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"); -- cgit v1.3.1-10-gc9f91