commit 3d81507b21bda03e485e5f78212d9a6ba75e7fbc
Author: Oswald Buddenhagen <[email protected]>
Date: Sat Sep 22 18:39:13 2012 +0200
don't trigger a search by TUID if we don't actually need the result
... as is the case when trashing.
src/sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/sync.c b/src/sync.c
index 9b6dab1..aea9c7e 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -1386,7 +1386,7 @@ msg_copied( int sts, int uid, copy_vars_t *vars )
SVARS_CHECK_CANCEL_RET;
switch (sts) {
case SYNC_OK:
- if (uid < 0)
+ if (uid < 0 && vars->srec)
svars->state[t] |= S_FIND;
msg_copied_p2( svars, vars->srec, t, vars->msg, uid );
break;
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel