commit 41ed1012241c30c265109ca187bfe6751ed19828 Author: Oswald Buddenhagen <o...@users.sf.net> Date: Sat Apr 18 10:54:00 2015 +0200
don't list IMAP Path under INBOX twice if NAMESPACE is "INBOX.", listing INBOX recursively will already include it. REFMAIL: 1890363108.1020695.1428757117731.javamail.ya...@mail.yahoo.com src/drv_imap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index 2961769..7b41864 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -2612,7 +2612,7 @@ imap_list_store( store_t *gctx, int flags, imap_store_t *ctx = (imap_store_t *)gctx; struct imap_cmd_refcounted_state *sts = imap_refcounted_new_state( cb, aux ); - if (((flags & LIST_PATH) && + if (((flags & LIST_PATH) && (!(flags & LIST_INBOX) || !is_inbox( ctx, ctx->prefix, -1 )) && imap_exec( ctx, imap_refcounted_new_cmd( sts ), imap_refcounted_done_box, "LIST \"\" \"%\\s*\"", ctx->prefix ) < 0) || ((flags & LIST_INBOX) && (!(flags & LIST_PATH) || *ctx->prefix) && ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel