aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-11-14 09:58:25 -0800
committerWayne Davison <wayned@samba.org>2009-11-14 09:58:25 -0800
commit5692657757a6c0e3ba60320719ef51af6f78c909 (patch)
tree1009586bc155a240bfc7a929164014cc2b0d040a /io.c
parentc493b6b81d814db3cdd91f3bb98f5a84456756ff (diff)
downloadandroid_external_rsync-5692657757a6c0e3ba60320719ef51af6f78c909.tar.gz
android_external_rsync-5692657757a6c0e3ba60320719ef51af6f78c909.tar.bz2
android_external_rsync-5692657757a6c0e3ba60320719ef51af6f78c909.zip
No need to check MIN_FILECNT_LOOKAHEAD w/extra_flist_sending_enabled.
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io.c b/io.c
index 284e4571..413557a8 100644
--- 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;