commit 31cc7f1509c35874739a8fc52ec577d480be28fd
Author: Oswald Buddenhagen <[email protected]>
Date:   Sat Nov 20 23:04:05 2010 +0100

    don't compare find_old_done with find_new_total
    
    this didn't have any effect as no async drivers currently exist.

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

diff --git a/src/sync.c b/src/sync.c
index 8c2f6b5..c1324e1 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -967,7 +967,7 @@ msgs_found_sel( sync_vars_t *svars, int t )
        int sflags, nflags, aflags, dflags, nex;
        char fbuf[16]; /* enlarge when support for keywords is added */
 
-       if (!(svars->state[t] & ST_SENT_FIND_OLD) || svars->find_old_done[t] < 
svars->find_new_total[t])
+       if (!(svars->state[t] & ST_SENT_FIND_OLD) || svars->find_old_done[t] < 
svars->find_old_total[t])
                return 0;
 
        /*
@@ -1067,7 +1067,7 @@ msgs_found_sel( sync_vars_t *svars, int t )
                return select_box( svars, M, minwuid, mexcs, nmexcs );
        }
 
-       if (!(svars->state[1-t] & ST_SENT_FIND_OLD) || 
svars->find_old_done[1-t] < svars->find_new_total[1-t])
+       if (!(svars->state[1-t] & ST_SENT_FIND_OLD) || 
svars->find_old_done[1-t] < svars->find_old_total[1-t])
                return 0;
 
        if (svars->uidval[M] < 0 || svars->uidval[S] < 0) {

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to