fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]lost UIDs

2005-03-05 19:03:03
Matthias Andree <matthias(_dot_)andree(_at_)gmx(_dot_)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(_at_)lists(_dot_)berlios(_dot_)de(_dot_)

-- 
Matthias Andree


<Prev in Thread] Current Thread [Next in Thread>