From: Martin Pool Date: Mon, 18 Feb 2002 19:51:12 +0000 (+0000) Subject: rwrite: Doc. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/900748fca13ed9b4305b6ae323e1cc3b27ac00c6 rwrite: Doc. --- diff --git a/log.c b/log.c index 532803f2..411889c1 100644 --- 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; }