[BusyBox-cvs] busybox/sysklogd syslogd.c,1.95,1.96

Erik Andersen andersen at busybox.net
Fri May 23 09:30:00 UTC 2003


Update of /var/cvs/busybox/sysklogd
In directory winder:/tmp/cvs-serv1321

Modified Files:
	syslogd.c 
Log Message:
oops


Index: syslogd.c
===================================================================
RCS file: /var/cvs/busybox/sysklogd/syslogd.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- syslogd.c	23 May 2003 09:28:01 -0000	1.95
+++ syslogd.c	23 May 2003 09:29:57 -0000	1.96
@@ -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)) {



More information about the busybox-cvs mailing list