Changeset 5215:4e9445a06369 for imap

Show
Ignore:
Timestamp:
2007-09-09 15:48:23 (15 months ago)
Author:
Andreas Jaggi
Branch:
HEAD
Message:

Let imap_complete_hosts work with the last mailbox (closes #2949).
This was an off-by-one error in the mailbox loop.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/imap.c

    r5200 r5215  
    18671867   
    18681868  matchlen = mutt_strlen (dest); 
    1869   for (mailbox = Incoming; mailbox && mailbox->next; mailbox = mailbox->next) 
     1869  for (mailbox = Incoming; mailbox; mailbox = mailbox->next) 
    18701870  { 
    18711871    if (!mutt_strncmp (dest, mailbox->path, matchlen))