commit | 46ba568fc081fa49a757fe6f69f87cf64344d9cd | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Fri May 23 09:29:57 2003 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Fri May 23 09:29:57 2003 +0000 |
tree | e8e96afaa548b05d044230577de35cdba929c9e8 | |
parent | d4f90ed37ecfae096dc6bf79f0ca0cefc5ff5756 [diff] |
oops
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 416521f..03dcce5 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c
@@ -437,8 +437,9 @@ 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)) {