aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-05-23 09:29:57 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-05-23 09:29:57 +0000
commit5d7e2ed6d1911717bd4395bed5b021905ea443aa (patch)
treee8e96afaa548b05d044230577de35cdba929c9e8
parent25b7db3e8dfed9a6d8799bb2add40bc1b68ac953 (diff)
downloadbusybox-w32-5d7e2ed6d1911717bd4395bed5b021905ea443aa.tar.gz
busybox-w32-5d7e2ed6d1911717bd4395bed5b021905ea443aa.tar.bz2
busybox-w32-5d7e2ed6d1911717bd4395bed5b021905ea443aa.zip
oops
git-svn-id: svn://busybox.net/trunk/busybox@6850 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--sysklogd/syslogd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 416521f3c..03dcce5c1 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -437,8 +437,9 @@ static int serveConnection(char *tmpbuf, int n_read)
437 while (isdigit(*(++p))) { 437 while (isdigit(*(++p))) {
438 pri = 10 * pri + (*p - '0'); 438 pri = 10 * pri + (*p - '0');
439 } 439 }
440 if (pri & ~(LOG_FACMASK | LOG_PRIMASK)){ 440 if (pri & ~(LOG_FACMASK | LOG_PRIMASK)) {
441 pri = (LOG_USER | LOG_NOTICE); 441 pri = (LOG_USER | LOG_NOTICE);
442 }
442 } else if (c == '\n') { 443 } else if (c == '\n') {
443 *q++ = ' '; 444 *q++ = ' ';
444 } else if (iscntrl(c) && (c < 0177)) { 445 } else if (iscntrl(c) && (c < 0177)) {