[fetchmail]lost UIDs

Matthias Andree fetchmail-devel@lists.berlios.de
Sun, 06 Mar 2005 03:02:55 +0100


Matthias Andree <matthias.andree@gmx.de> writes:

> Actually, the right code is:
>
>     if (ctl->newsaved)
>     {
>         /* old state of mailbox may now be irrelevant */
>         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);
>     }

The & belongs in the free_str_list() call - further discussion on
fetchmail-devel@lists.berlios.de.

-- 
Matthias Andree