commit 6e6a400e3e02e739854cc8cef6a4000e0c0302f0
Author: Oswald Buddenhagen <[email protected]>
Date:   Sat Oct 26 11:44:18 2013 +0200

    move initializations for clarity

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

diff --git a/src/sync.c b/src/sync.c
index bf48b7d..209a2b1 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -1094,8 +1094,6 @@ box_loaded( int sts, void *aux )
 
        if ((t == S) && svars->smaxxuid) {
                debug( "preparing master selection - max expired slave uid is 
%d\n", svars->smaxxuid );
-               mexcs = 0;
-               nmexcs = rmexcs = 0;
                minwuid = INT_MAX;
                for (srec = svars->srecs; srec; srec = srec->next) {
                        if (srec->status & S_DEAD)
@@ -1113,6 +1111,8 @@ box_loaded( int sts, void *aux )
                                minwuid = srec->uid[M];
                }
                debug( "  min non-orphaned master uid is %d\n", minwuid );
+               mexcs = 0;
+               nmexcs = rmexcs = 0;
                for (srec = svars->srecs; srec; srec = srec->next) {
                        if (srec->status & S_DEAD)
                                continue;

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to