From 46ba568fc081fa49a757fe6f69f87cf64344d9cd Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 23 May 2003 09:29:57 +0000 Subject: oops --- sysklogd/syslogd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) 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)) { -- cgit v1.2.3