From 1115f947254834df1f542c41cecb6c5e735126b8 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 6 Mar 2005 01:59:47 +0000 Subject: Fix UID trashing bug introduced into rev. 4019. svn path=/trunk/; revision=4021 --- uid.c | 4 ++-- 1 file 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! */ -- cgit v1.2.3