diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-06-22 21:10:04 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-06-22 21:10:04 +0000 |
commit | 014f9aec1c45d5c6384a11daf8820ccb1495aa9a (patch) | |
tree | 7ac618667cb5558ac79d146ce6197e186f3b5ef8 /driver.c | |
parent | 3a8d7cb928c1e564fb031a0402103573f70c73b4 (diff) | |
download | fetchmail-014f9aec1c45d5c6384a11daf8820ccb1495aa9a.tar.gz fetchmail-014f9aec1c45d5c6384a11daf8820ccb1495aa9a.tar.bz2 fetchmail-014f9aec1c45d5c6384a11daf8820ccb1495aa9a.zip |
More patches by Sunil.
svn path=/trunk/; revision=3653
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -495,7 +495,7 @@ static int fetch_messages(int mailserver_socket, struct query *ctl, err = readheaders(mailserver_socket, len, msgsizes[num-1], ctl, num); if (err == PS_RETAINED) - suppress_forward = retained = TRUE; + suppress_readbody = suppress_forward = suppress_delete = retained = TRUE; else if (err == PS_TRANSIENT) suppress_delete = suppress_forward = TRUE; else if (err == PS_REFUSED) @@ -631,7 +631,8 @@ static int fetch_messages(int mailserver_socket, struct query *ctl, ctl->errcount++; suppress_delete = TRUE; } - (*fetches)++; + if (!retained) + (*fetches)++; } /* |