SHA256
1
0
forked from pool/isync
isync/isync-1.0.1_imaphierarchy.patch

14 lines
405 B
Diff

Index: src/drv_imap.c
===================================================================
--- src/drv_imap.c.orig
+++ src/drv_imap.c
@@ -1670,7 +1670,7 @@
int ret;
imap->boxes = 0;
- if ((ret = imap_exec_b( ctx, 0, "LIST \"\" \"%s%%\"", ctx->prefix )) != DRV_OK)
+ if ((ret = imap_exec_b( ctx, 0, "LIST \"\" \"%s*\"", ctx->prefix )) != DRV_OK)
return ret;
*retb = imap->boxes;
return DRV_OK;