git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5974c66
)
Don't call isprint() if --8-bit was specified.
author
Wayne Davison
<wayned@samba.org>
Mon, 6 Feb 2006 18:42:02 +0000
(18:42 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 6 Feb 2006 18:42:02 +0000
(18:42 +0000)
log.c
patch
|
blob
|
history
diff --git
a/log.c
b/log.c
index 4b78d25b3b40bc1d427f54888aa82b83f839baab..743cf9343768d7b53c3f5a015c263e2652b7398a 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-39,6
+39,7
@@
extern int local_server;
extern int quiet;
extern int module_id;
extern int msg_fd_out;
+extern int allow_8bit_chars;
extern int protocol_version;
extern int preserve_times;
extern int log_format_has_i;
@@
-318,7
+319,7
@@
void rwrite(enum logcode code, char *buf, int len)
filtered_fwrite(f, convbuf, out_buf - convbuf, 0);
} else
#endif
- filtered_fwrite(f, buf, len,
1
);
+ filtered_fwrite(f, buf, len,
!allow_8bit_chars
);
if (trailing_CR_or_NL) {
fputc(trailing_CR_or_NL, f);