]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
No need to check MIN_FILECNT_LOOKAHEAD w/extra_flist_sending_enabled.
authorWayne Davison <wayned@samba.org>
Sat, 14 Nov 2009 17:58:25 +0000 (09:58 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 14 Nov 2009 17:58:25 +0000 (09:58 -0800)
io.c

diff --git a/io.c b/io.c
index 284e457110a37ba92f2d04fbf21142b37effd1fb..413557a8a93ff5b76d48ef2708d940d0e17303dd 100644 (file)
--- a/io.c
+++ b/io.c
@@ -676,8 +676,7 @@ static char *perform_io(size_t needed, int flags)
                }
 
                if (extra_flist_sending_enabled) {
-                       if (file_total - file_old_total < MAX_FILECNT_LOOKAHEAD
-                        && file_total - file_old_total >= MIN_FILECNT_LOOKAHEAD)
+                       if (file_total - file_old_total < MAX_FILECNT_LOOKAHEAD)
                                tv.tv_sec = 0;
                        else {
                                extra_flist_sending_enabled = False;