mirror of
https://github.com/znc/znc.git
synced 2026-05-08 22:34:45 +02:00
Switch to Csocket's c-ares code
This removes all of znc's c-ares code and instead enables Csocket's built-in version. That code is newer than ZNC's, but should hopefully work just as good. Let's wait for the bug reports.... git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1704 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ void Csock::FreeAres()
|
||||
#endif /* HAVE_C_ARES */
|
||||
|
||||
#ifdef HAVE_C_ARES
|
||||
void AresHostCallback( void *pArg, int status, int timeouts, struct hostent *hent )
|
||||
static void AresHostCallback( void *pArg, int status, int timeouts, struct hostent *hent )
|
||||
{
|
||||
Csock *pSock = (Csock *)pArg;
|
||||
if( status == ARES_SUCCESS && hent )
|
||||
|
||||
Reference in New Issue
Block a user