diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-10-06 20:34:29 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-10-06 20:34:29 +0000 |
commit | 4cb267590512956e78cc054f816fc6294088ce2b (patch) | |
tree | d77223b3537ccb534e1a0a591ad671c52f44b0b7 /pop3.c | |
parent | f91581a8545a79da9d400e981de6f1ef73d2569a (diff) | |
download | fetchmail-4cb267590512956e78cc054f816fc6294088ce2b.tar.gz fetchmail-4cb267590512956e78cc054f816fc6294088ce2b.tar.bz2 fetchmail-4cb267590512956e78cc054f816fc6294088ce2b.zip |
Better behavior on line hits.
svn path=/trunk/; revision=1485
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -483,7 +483,12 @@ static int pop3_delete(int sock, struct query *ctl, int number) static int pop3_logout(int sock, struct query *ctl) /* send logout command */ { - return(gen_transact(sock, "QUIT")); + int ok = gen_transact(sock, "QUIT"); + + if (!ok) + expunge_uids(ctl); + + return(ok); } const static struct method pop3 = |