aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-13 17:37:05 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-13 17:37:05 +0000
commita6198d3fbc69f04653d3f13ae5feb3d151bb775d (patch)
tree73e5cc942e802d9e7d51ee0732a853fb68d39d00
parente3ae6f9935a2f4b5304287eec6320a788a05b460 (diff)
downloadfetchmail-a6198d3fbc69f04653d3f13ae5feb3d151bb775d.tar.gz
fetchmail-a6198d3fbc69f04653d3f13ae5feb3d151bb775d.tar.bz2
fetchmail-a6198d3fbc69f04653d3f13ae5feb3d151bb775d.zip
Ready.
svn path=/trunk/; revision=537
-rw-r--r--driver.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/driver.c b/driver.c
index 564dc50c..51e0fedc 100644
--- a/driver.c
+++ b/driver.c
@@ -138,6 +138,11 @@ static int is_host_alias(const char *name, struct query *ctl)
case NO_RECOVERY: /* non-recoverable name server error */
case TRY_AGAIN: /* temporary error on authoritative server */
default:
+ if (outlevel != O_SILENT)
+ putchar('\n'); /* terminate the progress message */
+ fprintf(stderr,
+ "fetchmail: nameserver evaporated while looking for `%s' during poll of %s.\n",
+ name, ctl->servername);
longjmp(restart, 2); /* try again next poll cycle */
break;
}
@@ -697,9 +702,7 @@ const struct method *proto; /* protocol method table */
}
else if (js == 2)
{
- fprintf(stderr,
- "fetchmail: nameserver evaporated during poll of %s.\n",
- ctl->servername);
+ /* error message printed at point of longjmp */
ok = PS_ERROR;
}
else