emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#21043: [PATCH] nnimap.el: make capability parsing more robust.


From: Nikolaus Rath
Subject: Re: bug#21043: [PATCH] nnimap.el: make capability parsing more robust.
Date: Mon, 13 Jul 2015 17:36:41 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)

On Jul 13 2015, Lars Magne Ingebrigtsen <address@hidden> wrote:
> Nikolaus Rath <address@hidden> writes:
>
>> Subject: [PATCH] nnimap.el: make capability parsing more robust.
>
> [...]
>
>> -                  (dolist (response (cddr login-result))
>> +                  (dolist (response (cddr (nnimap-command "CAPABILITY")))
>
> And we've already issued the CAPABILITY command in the
> `open-protocol-stream' call, so if the results of that isn't in
> `login-results', there's a bug in `open-protocol-stream'.

No. The results of the CAPABILITY command before login may be different
than after login.

Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



reply via email to

[Prev in Thread] Current Thread [Next in Thread]