diff options
author | Wayne Davison <wayned@samba.org> | 2015-09-07 09:46:31 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2015-09-07 10:07:17 -0700 |
commit | cce44865c1ac64a434390b96489252ed576ef951 (patch) | |
tree | 123a5cfe272ff5b3ca18ac8e72063ce6d56901d6 /receiver.c | |
parent | 1983198097f57cb9c2eb44ae51cbf8c2cabccbe4 (diff) | |
download | rsync-cce44865c1ac64a434390b96489252ed576ef951.tar.gz |
Fixed logging of %b & %c when using --log-file.
The %b and %c escapes were outputting cumulative values when logged via
--log-file only (the bug didn't affect daemon transfer logging or the
output of the client's --out-format info). Also unified the %b & %c
switch case to make it easier to maintain. Fixes bug 11496.
Diffstat (limited to 'receiver.c')
-rw-r--r-- | receiver.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -672,8 +672,7 @@ int recv_files(int f_in, int f_out, char *local_name) } } - if (!log_before_transfer) - remember_initial_stats(); + remember_initial_stats(); if (!do_xfers) { /* log the transfer */ log_item(FCLIENT, file, iflags, NULL); |