commit 2f0fbcd3068da05056107a88f58c92d75bb213c6
Author: Oswald Buddenhagen <[email protected]>
Date: Wed Dec 11 14:30:38 2013 +0100
don't use UID EXPUNGE unless trashing
a simple CLOSE is way more efficient, so use it if no adverse effects
can come from it.
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 502be43..edef457 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -2009,7 +2009,7 @@ imap_close( store_t *gctx,
{
imap_store_t *ctx = (imap_store_t *)gctx;
- if (CAP(UIDPLUS)) {
+ if (ctx->gen.conf->trash && CAP(UIDPLUS)) {
struct imap_cmd_refcounted_state *sts =
imap_refcounted_new_state( cb, aux );
message_t *msg, *fmsg, *nmsg;
int bl;
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel