diff options
author | Wayne Davison <wayned@samba.org> | 2005-02-19 02:39:33 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-02-19 02:39:33 +0000 |
commit | 742be97ce4bef9d6196073e66372579911e18bac (patch) | |
tree | 8495f18b75f5d24b73944e8c9115080e41c5031d /sender.c | |
parent | 1f30a674cdbdb464b74181c2ef8588fa48b74ab1 (diff) | |
download | rsync-742be97ce4bef9d6196073e66372579911e18bac.tar.gz rsync-742be97ce4bef9d6196073e66372579911e18bac.tar.bz2 rsync-742be97ce4bef9d6196073e66372579911e18bac.zip |
Log items that are unchanged if verbose > 1.
Diffstat (limited to 'sender.c')
-rw-r--r-- | sender.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -145,12 +145,12 @@ void send_files(struct file_list *flist, int f_out, int f_in) file = flist->files[i]; if (protocol_version >= 29) { - iflags = read_short(f_in); + iflags = read_shortint(f_in); if (!(iflags & ITEM_UPDATING) || !S_ISREG(file->mode)) { if (am_server) { write_int(f_out, i); - write_short(f_out, iflags); - } else if (itemize_changes + write_shortint(f_out, iflags); + } else if (itemize_changes || verbose > 1 || iflags & ITEM_UPDATING || (S_ISDIR(file->mode) && iflags & ITEM_REPORT_TIME)) @@ -193,7 +193,7 @@ void send_files(struct file_list *flist, int f_out, int f_in) log_send(file, &stats, iflags); write_int(f_out, i); if (protocol_version >= 29) - write_short(f_out, iflags); + write_shortint(f_out, iflags); continue; } @@ -246,7 +246,7 @@ void send_files(struct file_list *flist, int f_out, int f_in) write_int(f_out, i); if (protocol_version >= 29) - write_short(f_out, iflags); + write_shortint(f_out, iflags); write_sum_head(f_out, s); if (verbose > 2) { |