diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-06-26 03:50:27 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-06-26 03:50:27 +0000 |
commit | 20593c1e04732f607e94f3b45777fc1797187f4a (patch) | |
tree | 45d1221d93814023d1685ace0badd88b07a72bb0 /imap.c | |
parent | a9c64a8cf65a5c809c84e1808d98e5d81e8ba89d (diff) | |
download | fetchmail-20593c1e04732f607e94f3b45777fc1797187f4a.tar.gz fetchmail-20593c1e04732f607e94f3b45777fc1797187f4a.tar.bz2 fetchmail-20593c1e04732f607e94f3b45777fc1797187f4a.zip |
Simplify the expunge logic.
svn path=/trunk/; revision=2512
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1155,8 +1155,8 @@ static int imap_delete(int sock, struct query *ctl, int number) static int imap_logout(int sock, struct query *ctl) /* send logout command */ { - /* if expunges after deletion have been suppressed, ship one now */ - if (NUM_SPECIFIED(expunge_period) && NUM_ZERO(expunge_period) && deletions) + /* if any un-expunged deletions remain, ship an expunge now */ + if (deletions) internal_expunge(sock); return(gen_transact(sock, "LOGOUT")); |