From 48b4421173725c8d2eb9c36342a1a70937c16de0 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 29 Apr 2011 11:03:54 +0200 Subject: Remove unused code. --- driver.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'driver.c') 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); -- cgit v1.2.3