aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-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