Added a comment about a missing dump of the message to stderr if write_port()

fails.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5338 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-11-12 16:55:04 +00:00
parent 05f8d13ed9
commit c094c0c22b

View File

@ -137,6 +137,8 @@ send_syslog_message(syslog_context *context, int priority, const char *text, va_
while (write_port(port, SYSLOG_MESSAGE, &message, sizeof(syslog_message) + length) == B_INTERRUPTED); while (write_port(port, SYSLOG_MESSAGE, &message, sizeof(syslog_message) + length) == B_INTERRUPTED);
// make sure the message gets send (if there is a valid port) // make sure the message gets send (if there is a valid port)
// ToDo: if write_port() returns an error, LOG_CONS is not respected
} }