Changeset 5215:4e9445a06369
- Timestamp:
- 2007-09-09 15:48:23 (16 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5200
|
r5215
|
|
| 1867 | 1867 | |
| 1868 | 1868 | matchlen = mutt_strlen (dest); |
| 1869 | | for (mailbox = Incoming; mailbox && mailbox->next; mailbox = mailbox->next) |
| | 1869 | for (mailbox = Incoming; mailbox; mailbox = mailbox->next) |
| 1870 | 1870 | { |
| 1871 | 1871 | if (!mutt_strncmp (dest, mailbox->path, matchlen)) |