aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2003-10-10 19:40:02 +0000
committerEric S. Raymond <esr@thyrsus.com>2003-10-10 19:40:02 +0000
commit8448bbcc5acf544042af536ffa81a23e65adfadb (patch)
tree7530afe02a27eec66a8d679da393608676dc61e0 /driver.c
parent82d5e0b48f322034a7c13e27ed55a19ce934c7b8 (diff)
downloadfetchmail-8448bbcc5acf544042af536ffa81a23e65adfadb.tar.gz
fetchmail-8448bbcc5acf544042af536ffa81a23e65adfadb.tar.bz2
fetchmail-8448bbcc5acf544042af536ffa81a23e65adfadb.zip
Minor bug fix from Sunil.
svn path=/trunk/; revision=3852
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index f0946e18..6de0ffbd 100644
--- a/driver.c
+++ b/driver.c
@@ -669,7 +669,8 @@ static int fetch_messages(int mailserver_socket, struct query *ctl,
else if (ctl->server.base_protocol->delete
&& !suppress_delete
&& ((msgcodes[num-1] >= 0 && !ctl->keep)
- || (msgcodes[num-1] == MSGLEN_OLD && ctl->flush)))
+ || (msgcodes[num-1] == MSGLEN_OLD||
+ msgcodes[num-1] == MSGLEN_TOOLARGE) && ctl->flush))
{
(*deletions)++;
if (outlevel > O_SILENT)