From 5ae91f09031b0452f5cc201d0917aec5ed439c60 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 29 Apr 2009 03:49:00 +0000 Subject: How about we make this compile? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 2 +- src/modules/extra/m_ssl_openssl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 1b9139867..2939f4757 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -166,7 +166,7 @@ class ModuleSSLGnuTLS : public Module int portint = 0; irc::sockets::sockaddrs bin; if (irc::sockets::aptosa(addr.c_str(), portint, &bin)) - irc::sockets::satoap(addr, portint, &bin); + irc::sockets::satoap(&bin, addr, portint); } irc::portparser portrange(port, false); diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index b9e23ba0b..53e873641 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -188,7 +188,7 @@ class ModuleSSLOpenSSL : public Module int portint = 0; irc::sockets::sockaddrs bin; if (irc::sockets::aptosa(addr.c_str(), portint, &bin)) - irc::sockets::satoap(addr, portint, &bin); + irc::sockets::satoap(&bin, addr, portint); } irc::portparser portrange(port, false); -- cgit v1.2.3