aboutsummaryrefslogtreecommitdiffstats
path: root/checkalias.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2017-04-22 23:20:24 +0200
committerMatthias Andree <matthias.andree@gmx.de>2017-04-22 23:22:32 +0200
commit6ae9c025819d4cc8e7e23308e4834af4ec695945 (patch)
tree8407bc5f2e696d3c8104ac3d8e96851d7b88432a /checkalias.c
parentc36be3453b906381c9580fa0ef8c6b652fcb6cfe (diff)
downloadfetchmail-6ae9c025819d4cc8e7e23308e4834af4ec695945.tar.gz
fetchmail-6ae9c025819d4cc8e7e23308e4834af4ec695945.tar.bz2
fetchmail-6ae9c025819d4cc8e7e23308e4834af4ec695945.zip
Remove last traces of gethostbyname().
Diffstat (limited to 'checkalias.c')
-rw-r--r--checkalias.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/checkalias.c b/checkalias.c
index 1e1d1633..eb92ff00 100644
--- a/checkalias.c
+++ b/checkalias.c
@@ -53,8 +53,6 @@ static int is_ip_alias(const char *name1,const char *name2)
/*
* Given two hostnames as arguments, returns TRUE if they
* have at least one IP address in common.
- * No check is done on errors returned by gethostbyname,
- * the calling function does them.
*/
{
int rc = FALSE;
@@ -151,9 +149,6 @@ int is_host_alias(const char *name, struct query *ctl, struct addrinfo **res)
return(FALSE);
#else
/*
- * The only code that calls the BIND library is here and in the
- * start-of-run probe with gethostbyname(3) under ETRN/Kerberos.
- *
* We know DNS service was up at the beginning of the run.
* If it's down, our nameserver has crashed. We don't want to try
* delivering the current message or anything else from the
@@ -216,8 +211,6 @@ int is_host_alias(const char *name, struct query *ctl, struct addrinfo **res)
}
/*
- * We're only here if DNS was OK but the gethostbyname() failed
- * with a HOST_NOT_FOUND or NO_ADDRESS error.
* Search for a name match on MX records pointing to the server.
*/
h_errno = 0;