#2949: Off-by-one bug in imap_complete_hosts
Changes (by Andreas Jaggi):
* status: new => closed
* resolution: => fixed
Comment:
(In [4e9445a06369]) Let imap_complete_hosts work with the last mailbox
(closes #2949).
This was an off-by-one error in the mailbox loop.
--
Ticket URL:
#2949: Off-by-one bug in imap_complete_hosts
I discovered a bug in the IMAP folder completion, which caused that the
last IMAP folder in mailboxes was never proposed for completion.
How to reproduce it:
Put something like this in `.muttrc`:
{{{
mailboxes "imap://aaa"
mailboxes "imap://bbb