Improved rwrite() in two ways:
authorWayne Davison <wayned@samba.org>
Mon, 7 Jun 2004 22:51:14 +0000 (22:51 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 7 Jun 2004 22:51:14 +0000 (22:51 +0000)
commit0bb4d17634d41ad49043bbb9c2dc156dae2eb39a
tree9f772cab2835e7e1a3eaecae479c1307345a9b1e
parentf9c6b3e7d622d6e3960faec80a382bbef99d7a8c
Improved rwrite() in two ways:
- We no longer assume that the buffer is null terminated (daemon
  mode would ignore the len when logging a message).
- Errors in daemon mode are now sent to both the log and the user.
log.c