diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2011-04-29 11:03:54 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2011-04-29 15:07:24 +0200 |
commit | 48b4421173725c8d2eb9c36342a1a70937c16de0 (patch) | |
tree | 9c8d8d9a7412383add5de11c33010820d36cfec4 /driver.c | |
parent | 2ef157e08bc4f8796223d179868a562648a5dbdd (diff) | |
download | fetchmail-48b4421173725c8d2eb9c36342a1a70937c16de0.tar.gz fetchmail-48b4421173725c8d2eb9c36342a1a70937c16de0.tar.bz2 fetchmail-48b4421173725c8d2eb9c36342a1a70937c16de0.zip |
Remove unused code.
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -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); |