Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a19c3b
)
Use rwrite() to output the err_msg string.
author
Wayne Davison
<wayned@samba.org>
Sun, 19 Nov 2006 04:37:52 +0000
(
04:37
+0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 19 Nov 2006 04:37:52 +0000
(
04:37
+0000)
clientserver.c
patch
|
blob
|
blame
|
history
diff --git
a/clientserver.c
b/clientserver.c
index
d27ced3
..
97f4fe1
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-678,7
+678,7
@@
static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
if (!ret || err_msg) {
if (err_msg)
- r
printf(FERROR, err_msg
);
+ r
write(FERROR, err_msg, strlen(err_msg)
);
else
option_error();
msleep(400);