oops
authorEric Andersen <andersen@codepoet.org>
Fri, 23 May 2003 09:29:57 +0000 (09:29 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 23 May 2003 09:29:57 +0000 (09:29 -0000)
sysklogd/syslogd.c

index 416521f3c8bac30187afb5b41cf2bd0ae6dd94ce..03dcce5c14904097a99d555eb304ad4aaafd545b 100644 (file)
@@ -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)) {