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:
psychon
2010-01-10 13:20:20 +00:00
parent 100af31cd7
commit fc77edef08
5 changed files with 8 additions and 227 deletions
+1 -1
View File
@@ -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 )