aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-06-11 22:33:42 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-06-11 22:33:42 +0000
commit21708c2d324e0ef6d0f5a0e2e3db325e45bb5ed3 (patch)
treead31000031839dd217d4d2477205dee412b6bd21 /uid.c
parentfcad7f152c6407c492c8fa0989ec23eaeca4bc27 (diff)
downloadfetchmail-21708c2d324e0ef6d0f5a0e2e3db325e45bb5ed3.tar.gz
fetchmail-21708c2d324e0ef6d0f5a0e2e3db325e45bb5ed3.tar.bz2
fetchmail-21708c2d324e0ef6d0f5a0e2e3db325e45bb5ed3.zip
Ready to release.
svn path=/trunk/; revision=2494
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/uid.c b/uid.c
index 8cf753d0..09ea5684 100644
--- a/uid.c
+++ b/uid.c
@@ -332,6 +332,7 @@ void update_str_lists(struct query *ctl)
/* perform end-of-query actions on UID lists */
{
free_str_list(&ctl->oldsaved);
+ free_str_list(&scratchlist);
ctl->oldsaved = ctl->newsaved;
ctl->newsaved = (struct idlist *) NULL;
@@ -364,7 +365,7 @@ void write_saved_lists(struct query *hostlist, const char *idfile)
}
/* either nuke the file or write updated last-seen IDs */
- if (!idcount)
+ if (!idcount && !scratchlist)
{
if (outlevel >= O_DEBUG)
report(stdout, "Deleting fetchids file.\n");