Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set stats.current_file_index.
[rsync/rsync.git]
/
sender.c
diff --git
a/sender.c
b/sender.c
index
b0c24dd
..
1d9a132
100644
(file)
--- a/
sender.c
+++ b/
sender.c
@@
-34,8
+34,6
@@
extern int am_server;
* and transmits them to the receiver. The sender process runs on the
* machine holding the source files.
**/
* and transmits them to the receiver. The sender process runs on the
* machine holding the source files.
**/
-
-
void read_sum_head(int f, struct sum_struct *sum)
{
extern int protocol_version;
void read_sum_head(int f, struct sum_struct *sum)
{
extern int protocol_version;
@@
-155,6
+153,7
@@
void send_files(struct file_list *flist, int f_out, int f_in)
file = flist->files[i];
file = flist->files[i];
+ stats.current_file_index = i;
stats.num_transferred_files++;
stats.total_transferred_size += file->length;
stats.num_transferred_files++;
stats.total_transferred_size += file->length;