[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Fwd: Problem with msgcache ... (and Fix!)
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Fwd: Problem with msgcache ... (and Fix!)
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Wed, 20 Sep 2006 22:31:52 +0200
- References: <200609192241.33477.rolf.masfelder@nector.de>
- User-agent: Mutt/1.5.11
On Tue, Sep 19, 2006 at 10:41:33PM +0200, Rolf Masfelder wrote:
>
> in msgcache.c is a problem if a second (or third or ...) connection at
> the same time is stored in your connection-list.
>
> so (line 443):
>
> if (!chead) ctail = NULL;
>
> should be replaced with :
>
> ctail = chead;
> if (ctail) { while (ctail->next) ctail = ctail->next; }
>
> to store a new connection at the end of the list (you handle the
> message-queue in the same way).
Good catch, thanks. Applied, and there's a patch for it on the patches
page shortly.
Regards,
Henrik