diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-06-11 22:33:42 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-06-11 22:33:42 +0000 |
commit | 21708c2d324e0ef6d0f5a0e2e3db325e45bb5ed3 (patch) | |
tree | ad31000031839dd217d4d2477205dee412b6bd21 /uid.c | |
parent | fcad7f152c6407c492c8fa0989ec23eaeca4bc27 (diff) | |
download | fetchmail-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"); |