Mercurial > dovecot > core-2.2
changeset 21311:04ba3511d02a
imap: Fix STORE UNCHANGEDSINCE to work with >32bit modseqs.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 15 Dec 2016 15:00:54 +0200 |
parents | 8860c79510c5 |
children | f9db0ad9001e |
files | src/imap/cmd-store.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-store.c Thu Dec 15 15:20:02 2016 +0200 +++ b/src/imap/cmd-store.c Thu Dec 15 15:00:54 2016 +0200 @@ -183,7 +183,7 @@ mail_search_args_unref(&search_args); i_array_init(&modified_set, 64); - if (ctx.max_modseq < (uint32_t)-1) { + if (ctx.max_modseq < (uint64_t)-1) { /* STORE UNCHANGEDSINCE is being used */ mailbox_transaction_set_max_modseq(t, ctx.max_modseq, &modified_set);