Changeset 5128:35087370cfd4 for imap
- Timestamp:
- 2007-04-12 09:42:01 (20 months ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
imap/message.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
imap/message.c
r5127 r5128 226 226 mutt_progress_update (&progress, msgno + 1); 227 227 228 /* we may get notification of new mail while fetching headers */ 228 229 if (msgno + 1 > fetchlast) 229 230 { 230 fetchlast = msgno + 1; 231 while((fetchlast <= msgend) && (! ctx->hdrs[fetchlast])) 232 fetchlast++; 233 234 /* 235 * Make one request for everything. This makes fetching headers an 236 * order of magnitude faster if you have a large mailbox. 237 * 238 * If we get more messages while doing this, we make another 239 * request for all the new messages. 240 */ 231 fetchlast = msgend + 1; 232 241 233 snprintf (buf, sizeof (buf), 242 234 "FETCH %d:%d (UID FLAGS INTERNALDATE RFC822.SIZE %s)", msgno + 1,
