From: Wilfried Goesgens Date: Tue, 17 Apr 2012 21:53:31 +0000 (+0200) Subject: c-ares: make InitC_ares_dns() private to serv_cares.c X-Git-Tag: v8.11~89 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=18963e01928a28c4e29c1377d3322390dc04ca16 c-ares: make InitC_ares_dns() private to serv_cares.c --- diff --git a/citadel/event_client.h b/citadel/event_client.h index 6ae8b27d3..6f2c6ad7a 100644 --- a/citadel/event_client.h +++ b/citadel/event_client.h @@ -253,8 +253,6 @@ void StopClientWatchers(AsyncIO *IO); void SetNextTimeout(AsyncIO *IO, double timeout); -void InitC_ares_dns(AsyncIO *IO); - #include #define OPT(s, v) \ diff --git a/citadel/modules/pop3client/serv_pop3client.c b/citadel/modules/pop3client/serv_pop3client.c index fa151f669..826a191ab 100644 --- a/citadel/modules/pop3client/serv_pop3client.c +++ b/citadel/modules/pop3client/serv_pop3client.c @@ -852,14 +852,6 @@ eNextState pop3_get_one_host_ip_done(AsyncIO *IO) eNextState pop3_get_one_host_ip(AsyncIO *IO) { pop3aggr *cpptr = IO->Data; - /* - * here we start with the lookup of one host. it might be... - * - the relay host *sigh* - * - the direct hostname if there was no mx record - * - one of the mx'es - */ - - InitC_ares_dns(IO); syslog(LOG_DEBUG, "POP3: %s\n", __FUNCTION__); diff --git a/citadel/modules/smtp/serv_smtpeventclient.c b/citadel/modules/smtp/serv_smtpeventclient.c index ffdc63d0e..05b06aac4 100644 --- a/citadel/modules/smtp/serv_smtpeventclient.c +++ b/citadel/modules/smtp/serv_smtpeventclient.c @@ -413,8 +413,6 @@ eNextState get_one_mx_host_ip(AsyncIO *IO) * - one of the mx'es */ - InitC_ares_dns(IO); - EVS_syslog(LOG_DEBUG, "SMTP: %s\n", __FUNCTION__); EVS_syslog(LOG_DEBUG,