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:
12ccc73
)
Use send_msg() when forwarding a log message, not io_multiplex_write().
author
Wayne Davison
<wayned@samba.org>
Wed, 3 May 2006 16:17:49 +0000
(16:17 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 3 May 2006 16:17:49 +0000
(16:17 +0000)
This allows send_msg() to decide if the message should be sent right
away, or should be deferred.
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
3f57a44
..
4abc3d5
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-256,7
+256,7
@@
void rwrite(enum logcode code, char *buf, int len)
if (am_server) {
/* Pass the message to the non-server side. */
- if (
io_multiplex_write((enum msgcode)
code, buf, len))
+ if (
send_msg(
code, buf, len))
return;
if (am_daemon) {
/* TODO: can we send the error to the user somehow? */