aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2011-04-29 11:03:54 +0200
committerMatthias Andree <matthias.andree@gmx.de>2011-04-29 15:07:24 +0200
commit48b4421173725c8d2eb9c36342a1a70937c16de0 (patch)
tree9c8d8d9a7412383add5de11c33010820d36cfec4 /driver.c
parent2ef157e08bc4f8796223d179868a562648a5dbdd (diff)
downloadfetchmail-48b4421173725c8d2eb9c36342a1a70937c16de0.tar.gz
fetchmail-48b4421173725c8d2eb9c36342a1a70937c16de0.tar.bz2
fetchmail-48b4421173725c8d2eb9c36342a1a70937c16de0.zip
Remove unused code.
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/driver.c b/driver.c
index 0ca57cb3..5c073d65 100644
--- a/driver.c
+++ b/driver.c
@@ -1083,25 +1083,6 @@ static int do_session(
strlcpy(errbuf, strerror(err_no), sizeof(errbuf));
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) == 0)
- {
- stuff_warning(iana_charset, ctl,
- GT_("Subject: Fetchmail unreachable-server warning."));
- stuff_warning(NULL, ctl, "");
- stuff_warning(NULL, ctl, GT_("Fetchmail could not reach the mail server %s:"),
- ctl->server.pollname);
- stuff_warning(NULL, ctl, errbuf, ctl->server.pollname);
- close_warning_by_mail(ctl, (struct msgblk *)NULL);
- }
-#endif
}
err = PS_SOCKET;
set_timeout(0);