Browse Source

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.
1.2
Oswald Buddenhagen 8 years ago
parent
commit
2457b2baa3
  1. 2
      src/drv_imap.c

2
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 *******************/

Loading…
Cancel
Save