commit 2457b2baa329384294488b8eb9803a4c86788fad
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Wed Feb 15 17:25:59 2017 +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.

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

diff --git a/src/drv_imap.c b/src/drv_imap.c
index 83b0358..1fa727f 100644
--- 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 *******************/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to