diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/extra/m_mssql.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp index cc907af52..d52744fe4 100644 --- a/src/modules/extra/m_mssql.cpp +++ b/src/modules/extra/m_mssql.cpp @@ -82,7 +82,7 @@ class ResultNotifier : public BufferedSocket class MsSQLListener : public ListenSocketBase { ModuleMsSQL* Parent; - insp_sockaddr sock_us; + irc::sockets::insp_sockaddr sock_us; socklen_t uslen; FileReader* index; @@ -620,15 +620,15 @@ class SQLConn : public classbase return; } - insp_sockaddr addr; + irc::sockets::insp_sockaddr addr; #ifdef IPV6 - insp_aton("::1", &addr.sin6_addr); + irc::sockets::insp_aton("::1", &addr.sin6_addr); addr.sin6_family = AF_FAMILY; addr.sin6_port = htons(listener->GetPort()); #else - insp_inaddr ia; - insp_aton("127.0.0.1", &ia); + irc::sockets::insp_inaddr ia; + irc::sockets::insp_aton("127.0.0.1", &ia); addr.sin_family = AF_FAMILY; addr.sin_addr = ia; addr.sin_port = htons(listener->GetPort()); |