projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def85e8
)
Dont die if logging remotely fails, patch by Joshua Jackson
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sun, 9 Feb 2003 05:07:42 +0000
(
05:07
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sun, 9 Feb 2003 05:07:42 +0000
(
05:07
-0000)
sysklogd/syslogd.c
patch
|
blob
|
history
diff --git
a/sysklogd/syslogd.c
b/sysklogd/syslogd.c
index 34bc019a06b6abc1027b2bd02a4c0806de26579d..1c58a64f853641ad1c2a55232a2f62416df06ad8 100644
(file)
--- a/
sysklogd/syslogd.c
+++ b/
sysklogd/syslogd.c
@@
-386,12
+386,8
@@
static void logMessage(int pri, char *msg)
v->iov_base = msg;
v->iov_len = strlen(msg);
writev_retry:
- if (-1 == writev(remotefd, iov, IOV_COUNT)) {
- if (errno == EINTR) {
- goto writev_retry;
- }
- error_msg_and_die("cannot write to remote file handle on %s:%d",
- RemoteHost, RemotePort);
+ if ((-1 == writev(remotefd, iov, IOV_COUNT)) && (errno == EINTR)) {
+ goto writev_retry;
}
}
if (local_logging == TRUE)