diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-29 03:49:00 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-29 03:49:00 +0000 |
commit | 5ae91f09031b0452f5cc201d0917aec5ed439c60 (patch) | |
tree | 2d4f8b3b6d0409aea8db59ba9c6c4c97c846c222 /src/modules/extra | |
parent | 8bcd42704bb3c5361a9d3eacb0c793102d4f826a (diff) |
How about we make this compile?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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); |