From 800f02e7599d5f90d1c16f02cb1c28901d354140 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 13 Nov 2009 20:23:11 +0000 Subject: Get rid of socklen_t parameter to Bind, we are using C++ here and can do it other ways git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12129 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspsocket.cpp') diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 59f814cc9..6b3583a6a 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -90,7 +90,7 @@ BufferedSocketError BufferedSocket::BeginConnect(const irc::sockets::sockaddrs& if (bind.sa.sa_family != 0) { - if (ServerInstance->SE->Bind(fd, &bind.sa, sa_size(bind)) < 0) + if (ServerInstance->SE->Bind(fd, bind) < 0) return I_ERR_BIND; } -- cgit v1.2.3