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)
; /* do nothing */
- else if (itemize_changes
+ else if (itemize_changes || verbose > 1
|| iflags & ITEM_UPDATING
|| (S_ISDIR(file->mode)
&& iflags & ITEM_REPORT_TIME))
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))
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;
}
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) {