Changeset 5371:97aa20438c47 for imap
- Timestamp:
- 2008-05-12 23:15:07 (6 months ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
imap/imap.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
imap/imap.c
r5283 r5371 861 861 * Params: idata: IMAP_DATA containing context containing header set 862 862 * buf: to write message set into 863 * buflen: length of buffer864 863 * flag: enum of flag type on which to filter 865 864 * changed: include only changed messages in message set … … 943 942 mutt_buffer_printf (buf, ":%u", HEADER_DATA (hdrs[n])->uid); 944 943 } 945 /* this message is not expunged and doesn't match. End current set. */ 946 else if (setstart && hdrs[n]->active) 944 /* End current set if message doesn't match or we've reached the end 945 * of the mailbox via inactive messages following the last match. */ 946 else if (setstart && (hdrs[n]->active || n == idata->ctx->msgcount-1)) 947 947 { 948 948 if (HEADER_DATA (hdrs[n-1])->uid > setstart)
