diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 10:37:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 10:37:16 +0000 |
commit | c80508b28be5947648f59710e6653f793a73bd76 (patch) | |
tree | 87c3c9509ba2ae20312604d13ee14abcbea8b948 /src/modules/extra | |
parent | 15a3422e9ef297a6867d3c00b1d46079399739c7 (diff) |
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
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |