aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-02-07 01:50:05 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-02-07 01:50:05 +0000
commitb499b39f7a8fd559eff8ded1c62630dcc57bce2b (patch)
tree23980af4a3b5ce8ee8461d2bf14c3e46c867bc32 /driver.c
parent956889533ce6427bfb9d75c8114c8265373fd917 (diff)
downloadfetchmail-b499b39f7a8fd559eff8ded1c62630dcc57bce2b.tar.gz
fetchmail-b499b39f7a8fd559eff8ded1c62630dcc57bce2b.tar.bz2
fetchmail-b499b39f7a8fd559eff8ded1c62630dcc57bce2b.zip
Ready to ship.
svn path=/trunk/; revision=2734
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index cd89408e..8daf5f3e 100644
--- a/driver.c
+++ b/driver.c
@@ -1620,6 +1620,13 @@ const int maxfetch; /* maximum number of messages to fetch */
strcpy(errbuf, strerror(err_no));
report_complete(stderr, ": %s\n", errbuf);
+#ifdef __UNUSED
+ /*
+ * Don't use this. It was an attempt to address Debian bug
+ * #47143 (Notify user by mail when pop server nonexistent).
+ * Trouble is, that doesn't work; you trip over the case
+ * where your SLIP or PPP link is down...
+ */
/* warn the system administrator */
if (open_warning_by_mail(ctl, (struct msgblk *)NULL) == 0)
{
@@ -1627,8 +1634,9 @@ const int maxfetch; /* maximum number of messages to fetch */
stuff_warning(ctl, OPENFAIL, ctl->server.pollname);
stuff_warning(ctl, errbuf, ctl->server.pollname);
close_warning_by_mail(ctl, (struct msgblk *)NULL);
- }
#undef OPENFAIL
+ }
+#endif
}
#endif /* INET6_ENABLE */
ok = PS_SOCKET;