From c80508b28be5947648f59710e6653f793a73bd76 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 1 Aug 2006 10:37:16 +0000 Subject: Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first step on the road to ipv6 support git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mysql.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index 035d0b498..82348d40d 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -660,7 +660,7 @@ void* DispatcherThread(void* arg); class Notifier : public InspSocket { - sockaddr_in sock_us; + insp_sockaddr sock_us; socklen_t uslen; Server* Srv; @@ -841,8 +841,8 @@ void* DispatcherThread(void* arg) log(DEBUG,"Initialize QueueFD to %d",QueueFD); - sockaddr_in addr; - in_addr ia; + insp_sockaddr addr; + insp_inaddr ia; inet_aton("127.0.0.1", &ia); addr.sin_family = AF_INET; addr.sin_addr = ia; -- cgit v1.2.3