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:
d4f90ed
)
oops
author
Eric Andersen
<andersen@codepoet.org>
Fri, 23 May 2003 09:29:57 +0000
(09:29 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Fri, 23 May 2003 09:29:57 +0000
(09:29 -0000)
sysklogd/syslogd.c
patch
|
blob
|
history
diff --git
a/sysklogd/syslogd.c
b/sysklogd/syslogd.c
index 416521f3c8bac30187afb5b41cf2bd0ae6dd94ce..03dcce5c14904097a99d555eb304ad4aaafd545b 100644
(file)
--- a/
sysklogd/syslogd.c
+++ b/
sysklogd/syslogd.c
@@
-437,8
+437,9
@@
static int serveConnection(char *tmpbuf, int n_read)
while (isdigit(*(++p))) {
pri = 10 * pri + (*p - '0');
}
- if (pri & ~(LOG_FACMASK | LOG_PRIMASK)){
+ if (pri & ~(LOG_FACMASK | LOG_PRIMASK))
{
pri = (LOG_USER | LOG_NOTICE);
+ }
} else if (c == '\n') {
*q++ = ' ';
} else if (iscntrl(c) && (c < 0177)) {