isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 2457b2baa329384294488b8eb9803a4c86788fad
parent 67f4aeff1febc9bf750a927052c467fee15ba276
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Wed, 15 Feb 2017 17:25:59 +0100

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.

Diffstat:
Msrc/drv_imap.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drv_imap.c b/src/drv_imap.c @@ -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 *******************/