commit f385355bdb1cd32b73463f1d2ac034920ff69ba2
Author: Oswald Buddenhagen <[email protected]>
Date: Sat Oct 4 15:43:24 2014 +0200
don't attempt to filter LIST response if there is no Path
we won't filter anything in that case anyway.
src/drv_imap.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/drv_imap.c b/src/drv_imap.c
index f79cdb8..113d608 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -1090,8 +1090,7 @@ parse_list_rsp_p2( imap_store_t *ctx, list_t *list, char
*cmd ATTR_UNUSED )
return LIST_BAD;
}
arg = list->val;
- if (!is_inbox( ctx, arg )) {
- l = strlen( ctx->prefix );
+ if (!is_inbox( ctx, arg ) && (l = strlen( ctx->prefix ))) {
if (memcmp( arg, ctx->prefix, l ))
goto skip;
arg += l;
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel