diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-01-18 17:59:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-01-18 17:59:03 +0000 |
commit | 82d439ab4b351b4193521428fa449f392c8ec0ac (patch) | |
tree | 51843f4a9e003cc1c5804685ed9e5ff8213def94 /driver.c | |
parent | bc1dbec642a692d2b84d32cee53837dc5f01b726 (diff) | |
download | fetchmail-82d439ab4b351b4193521428fa449f392c8ec0ac.tar.gz fetchmail-82d439ab4b351b4193521428fa449f392c8ec0ac.tar.bz2 fetchmail-82d439ab4b351b4193521428fa449f392c8ec0ac.zip |
Better behavior in absence of bind library.
svn path=/trunk/; revision=1595
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1539,6 +1539,7 @@ const struct method *proto; /* protocol method table */ { error_build("fetchmail: %s connection to %s failed: ", protocol->name, ctl->server.pollname); +#ifdef HAVE_RES_SEARCH if (h_errno == HOST_NOT_FOUND) error_complete(0, 0, "host is unknown"); else if (h_errno == NO_ADDRESS) @@ -1550,6 +1551,7 @@ const struct method *proto; /* protocol method table */ else if (h_errno) error_complete(0, 0, "unknown DNS error %d", h_errno); else +#endif /* HAVE_RES_SEARCH */ error_complete(0, errno, "local error"); } ok = PS_SOCKET; |