rwrite: Doc.
authorMartin Pool <mbp@samba.org>
Mon, 18 Feb 2002 19:51:12 +0000 (19:51 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 18 Feb 2002 19:51:12 +0000 (19:51 +0000)
log.c

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;
        }