Mercurial > dovecot > core-2.2
diff src/lib-storage/index/imapc/imapc-mailbox.c @ 12609:391ba80cb125
imapc: Send UID FETCH commands with larger uidset parameter if possible.
This code assumes that server doesn't reorganize FETCH replies when it's
given an increasing UID range, which in theory IMAP server would be allowed
to do, but I doubt there are any.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 30 Jan 2011 20:47:43 +0200 |
parents | 0e5c36a54ce8 |
children | 3dde816d945d |
line wrap: on
line diff
--- a/src/lib-storage/index/imapc/imapc-mailbox.c Sun Jan 30 20:16:04 2011 +0200 +++ b/src/lib-storage/index/imapc/imapc-mailbox.c Sun Jan 30 20:47:43 2011 +0200 @@ -92,7 +92,7 @@ enum mail_flags flags; uint32_t uid, old_count; unsigned int i, j; - ARRAY_TYPE(const_string) keywords; + ARRAY_TYPE(const_string) keywords = ARRAY_INIT; bool seen_flags = FALSE; if (mbox == NULL || seq == 0 || !imap_arg_get_list(reply->args, &list))