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:
87ee248
)
rwrite: Doc.
author
Martin Pool
<mbp@samba.org>
Mon, 18 Feb 2002 19:51:12 +0000
(19:51 +0000)
committer
Martin Pool
<mbp@samba.org>
Mon, 18 Feb 2002 19:51:12 +0000
(19:51 +0000)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
532803f
..
411889c
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-237,7
+237,11
@@
void rwrite(enum logcode code, char *buf, int len)
return;
}
- /* if that fails, try to pass it to the other end */
+ /* If that fails, try to pass it to the other end.
+ *
+ * io_multiplex_write can fail if we do not have a multiplexed
+ * connection at the moment, in which case we fall through and
+ * log locally instead. */
if (am_server && io_multiplex_write(code, buf, len)) {
return;
}