X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/fad3dc421c7fa9fd62af1645c0338658dcfc9e24..c70e07d9ac09da1f00c531bb9137347f516f88f9:/sender.c diff --git a/sender.c b/sender.c index 225383b9..d4387a47 100644 --- a/sender.c +++ b/sender.c @@ -169,7 +169,8 @@ int read_iflags(int f_in, int f_out, int ndx, char *buf) } } else if (f_out >= 0) { write_int(f_out, ndx); - write_shortint(f_out, isave /*XXX iflags */); + if (protocol_version >= 29) + write_shortint(f_out, isave /*XXX iflags */); if (len >= 0) write_vstring(f_out, buf, len); } @@ -321,6 +322,9 @@ void send_files(struct file_list *flist, int f_out, int f_in) set_compression(fname); match_sums(f_out, s, mbuf, st.st_size); + if (do_progress) + end_progress(st.st_size); + if (!log_before_transfer) log_item(file, &initial_stats, iflags, NULL);