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:
20bf7f8
)
Restore old behavior of logging most daemon errors instead of sending
author
Wayne Davison
<wayned@samba.org>
Thu, 29 Apr 2004 19:34:31 +0000
(19:34 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 29 Apr 2004 19:34:31 +0000
(19:34 +0000)
them to the user. This should eventually be improved to duplicate
some of these messages to the user to keep them informed about what
went wrong.
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
d29e2b9
..
f7e124f
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-182,7
+182,8
@@
void rwrite(enum logcode code, char *buf, int len)
send_msg((enum msgcode)code, buf, len);
return;
}
- if (io_multiplex_write((enum msgcode)code, buf, len))
+ if (!am_daemon
+ && io_multiplex_write((enum msgcode)code, buf, len))
return;
}