diff options
author | Wayne Davison <wayned@samba.org> | 2006-05-03 16:17:49 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-05-03 16:17:49 +0000 |
commit | 3723548dedd44811fc7ac9425ac3134e46bfd52a (patch) | |
tree | 5e37525655c9f75a085f44263a42a21f9ca15f76 /log.c | |
parent | 12ccc73ae7b330c7187d88ae5c579c1882fabb34 (diff) | |
download | rsync-3723548dedd44811fc7ac9425ac3134e46bfd52a.tar.gz |
Use send_msg() when forwarding a log message, not io_multiplex_write().
This allows send_msg() to decide if the message should be sent right
away, or should be deferred.
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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? */ |