aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-06 22:22:58 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-06 22:22:58 +0000
commit8512ca34be8fcaee3fb919262466949effc9fdf7 (patch)
tree29802537a5823d3d35a76336154768d3dd70a2a2 /uid.c
parentbcb9abf2ef08ea1edb88a9ece11600ba52d4f9cd (diff)
downloadfetchmail-8512ca34be8fcaee3fb919262466949effc9fdf7.tar.gz
fetchmail-8512ca34be8fcaee3fb919262466949effc9fdf7.tar.bz2
fetchmail-8512ca34be8fcaee3fb919262466949effc9fdf7.zip
Ready for the experiment.
svn path=/trunk/; revision=2803
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/uid.c b/uid.c
index 2f388a23..ce875956 100644
--- a/uid.c
+++ b/uid.c
@@ -429,7 +429,7 @@ void uid_end_query(struct query *ctl)
* This is necessary in order to keep UIDL information
* from being heedlessly deleted later on.
*/
- if (ctl->have_uids)
+ if (ctl->newsaved)
{
/* old state of mailbox may now be irrelevant */
if (outlevel >= O_DEBUG)
@@ -438,7 +438,6 @@ void uid_end_query(struct query *ctl)
free_str_list(&scratchlist);
ctl->oldsaved = ctl->newsaved;
ctl->newsaved = (struct idlist *) NULL;
- ctl->have_uids = FALSE;
}
else if (outlevel >= O_DEBUG)
report(stdout, "not swapping UID lists, no UIDs seen this query\n");