aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-03-06 01:59:47 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-03-06 01:59:47 +0000
commit1115f947254834df1f542c41cecb6c5e735126b8 (patch)
treec8043ded19007906ab46e744925858d2b66bbd0c
parentac04415fb5ed08be539d6e415cff4f8c55aec217 (diff)
downloadfetchmail-1115f947254834df1f542c41cecb6c5e735126b8.tar.gz
fetchmail-1115f947254834df1f542c41cecb6c5e735126b8.tar.bz2
fetchmail-1115f947254834df1f542c41cecb6c5e735126b8.zip
Fix UID trashing bug introduced into rev. 4019.
svn path=/trunk/; revision=4021
-rw-r--r--uid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uid.c b/uid.c
index dc88f0cd..01a33137 100644
--- a/uid.c
+++ b/uid.c
@@ -537,12 +537,12 @@ void uid_swap_lists(struct query *ctl)
if (ctl->newsaved)
{
/* old state of mailbox may now be irrelevant */
- struct idlist **temp = &ctl->oldsaved;
+ struct idlist *temp = ctl->oldsaved;
if (outlevel >= O_DEBUG)
report(stdout, GT_("swapping UID lists\n"));
ctl->oldsaved = ctl->newsaved;
ctl->newsaved = (struct idlist *) NULL;
- free_str_list(temp);
+ free_str_list(&temp);
}
/* in fast uidl, there is no need to swap lists: the old state of
* mailbox cannot be discarded! */