commit 359091625daefccfa1a957dbfb7536376a4c56fc
Author: Oswald Buddenhagen <[email protected]>
Date:   Fri Dec 13 15:36:33 2013 +0100

    MaxMessages: ignore entries with no master while calculating bulk fetch

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

diff --git a/src/sync.c b/src/sync.c
index 4df172c..687911d 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -1018,7 +1018,7 @@ box_selected( int sts, void *aux )
                        /* First, find out the lower bound for the bulk fetch. 
*/
                        minwuid = INT_MAX;
                        for (srec = svars->srecs; srec; srec = srec->next) {
-                               if (srec->status & S_DEAD)
+                               if ((srec->status & S_DEAD) || srec->uid[M] <= 
0)
                                        continue;
                                if (srec->status & S_EXPIRED) {
                                        if (!srec->uid[S]) {

------------------------------------------------------------------------------
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

Reply via email to