extern int protocol_version;
extern int preserve_times;
extern int log_format_has_i;
extern int protocol_version;
extern int preserve_times;
extern int log_format_has_i;
filtered_fwrite(f, convbuf, out_buf - convbuf, 0);
} else
#endif
filtered_fwrite(f, convbuf, out_buf - convbuf, 0);
} else
#endif
- filtered_fwrite(f, buf, len, 1);
+ filtered_fwrite(f, buf, len, !allow_8bit_chars);
n[5] = !(iflags & ITEM_REPORT_PERMS) ? '.' : 'p';
n[6] = !(iflags & ITEM_REPORT_OWNER) ? '.' : 'o';
n[7] = !(iflags & ITEM_REPORT_GROUP) ? '.' : 'g';
n[5] = !(iflags & ITEM_REPORT_PERMS) ? '.' : 'p';
n[6] = !(iflags & ITEM_REPORT_OWNER) ? '.' : 'o';
n[7] = !(iflags & ITEM_REPORT_GROUP) ? '.' : 'g';