don't arbitrarily limit UIDs to a billion, part 2

imap_find_new_msgs() had the same fixed limit as imap_load_box().

amends 815822d8.
This commit is contained in:
Oswald Buddenhagen 2017-02-15 17:25:59 +01:00
parent 67f4aeff1f
commit 2457b2baa3

View File

@ -2637,7 +2637,7 @@ imap_find_new_msgs_p2( imap_store_t *ctx, struct imap_cmd *gcmd, int response )
}
INIT_IMAP_CMD(imap_cmd_simple, cmd, cmdp->gen.callback, cmdp->gen.callback_aux)
imap_exec( (imap_store_t *)ctx, &cmd->gen, imap_done_simple_box,
"UID FETCH %d:1000000000 (UID BODY.PEEK[HEADER.FIELDS (X-TUID)])", cmdp->uid );
"UID FETCH %d:" stringify(INT_MAX) " (UID BODY.PEEK[HEADER.FIELDS (X-TUID)])", cmdp->uid );
}
/******************* imap_list_store *******************/