diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-04-01 07:50:04 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-04-01 07:50:04 +0000 |
commit | 71bc7ce6858ee50574dc574a948ea24b5d2d0bfc (patch) | |
tree | 99f8d8677fdb18690839fa5d8023aae4016c90b6 /imap.c | |
parent | 26a916d0536f4048e3379bc7fe663ceb0944ce34 (diff) | |
download | fetchmail-71bc7ce6858ee50574dc574a948ea24b5d2d0bfc.tar.gz fetchmail-71bc7ce6858ee50574dc574a948ea24b5d2d0bfc.tar.bz2 fetchmail-71bc7ce6858ee50574dc574a948ea24b5d2d0bfc.zip |
Debian 5.9.10 fixes.
svn path=/trunk/; revision=3603
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -517,6 +517,9 @@ static int imap_getrange(int sock, return(ok); } } + /* if recentcount is 0, return no mail */ + if (recentcount == 0) + count = 0; if (outlevel >= O_DEBUG) report(stdout, GT_("%d messages waiting after re-poll\n"), count); } @@ -617,6 +620,7 @@ static int imap_getrange(int sock, unseen = -1; *newp = unseen; + count = 0; expunged = 0; deletions = 0; |