diff options
author | Wayne Davison <wayned@samba.org> | 2007-12-08 11:39:03 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-12-08 11:39:47 -0800 |
commit | 65b4e4b2a93de8e5bff93b5c7a2a529613cbc5e8 (patch) | |
tree | ffd109f2b665ee86fd49e330f91ded839cc0b887 /sender.c | |
parent | 37adeae73e9e590082d1247eeb8f216db18b24dc (diff) | |
download | android_external_rsync-65b4e4b2a93de8e5bff93b5c7a2a529613cbc5e8.tar.gz android_external_rsync-65b4e4b2a93de8e5bff93b5c7a2a529613cbc5e8.tar.bz2 android_external_rsync-65b4e4b2a93de8e5bff93b5c7a2a529613cbc5e8.zip |
Updated indexing for accurate progress and improved raw ndx values.
The sending side now has a sorted file-list in iconv mode so that it
can output progress in sorted order. Simplified the over-the-wire
index values to ensure both sides will always agree on the values.
Optimized the allocation of the dir_flist->sorted array on the
receiving side with --iconv and incremental recursion.
Diffstat (limited to 'sender.c')
-rw-r--r-- | sender.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -265,7 +265,8 @@ void send_files(int f_in, int f_out) updating_basis_file = inplace && (protocol_version >= 29 ? fnamecmp_type == FNAMECMP_FNAME : make_backups <= 0); - stats.current_file_index = ndx; + if (!am_server && do_progress) + set_current_file_index(file, ndx); stats.num_transferred_files++; stats.total_transferred_size += F_LENGTH(file); |