commit 62b375fd574f2f537eb0a66743a6b505d7e37133
Author: Oswald Buddenhagen <[email protected]>
Date:   Sat Sep 22 17:35:39 2012 +0200

    fix TrashRemoteNew copy direction

 src/sync.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/sync.c b/src/sync.c
index 17e0e06..9b6dab1 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -180,6 +180,7 @@ static int check_cancel( sync_vars_t *svars );
        } while (0)
 
 #define AUX &svars->t[t]
+#define INV_AUX &svars->t[1-t]
 #define DECL_SVARS \
        int t; \
        sync_vars_t *svars
@@ -1564,7 +1565,7 @@ msgs_flags_set( sync_vars_t *svars, int t )
                                                        stats( svars );
                                                        cv = nfmalloc( 
sizeof(*cv) );
                                                        cv->cb = msg_rtrashed;
-                                                       cv->aux = AUX;
+                                                       cv->aux = INV_AUX;
                                                        cv->srec = 0;
                                                        cv->msg = tmsg;
                                                        if (copy_msg( cv ))

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to