From 900748fca13ed9b4305b6ae323e1cc3b27ac00c6 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 18 Feb 2002 19:51:12 +0000 Subject: [PATCH] rwrite: Doc. --- log.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.34.1