aboutsummaryrefslogtreecommitdiffstats
path: root/flist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-10-29 17:35:50 -0700
committerWayne Davison <wayned@samba.org>2009-10-29 17:35:54 -0700
commitfe16d9a67db9aeaa424bd35976eefa2a11861a3b (patch)
tree29907197cc702c4d2de265ad6a50cc172038302f /flist.c
parent23a0d1e200c7f23c4d8ca236f807c253a666009a (diff)
downloadandroid_external_rsync-fe16d9a67db9aeaa424bd35976eefa2a11861a3b.tar.gz
android_external_rsync-fe16d9a67db9aeaa424bd35976eefa2a11861a3b.tar.bz2
android_external_rsync-fe16d9a67db9aeaa424bd35976eefa2a11861a3b.zip
Fix a hang when dealing with really large numbers of files
in an incremental recursion scan.
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/flist.c b/flist.c
index 70abe611..ac0a903f 100644
--- a/flist.c
+++ b/flist.c
@@ -2349,6 +2349,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
flist->sorted = flist->files;
flist_sort_and_clean(flist, 0);
file_total += flist->used;
+ file_old_total += flist->used;
if (numeric_ids <= 0 && !inc_recurse)
send_id_list(f);