2010-01-19 11:40:12 +01:00
|
|
|
--- syslogd.c
|
|
|
|
+++ syslogd.c 2004-09-26 02:41:27.136610056 +0000
|
2010-01-06 18:06:41 +01:00
|
|
|
@@ -1538,7 +1538,7 @@ void printline(hname, msg)
|
2006-12-19 00:17:53 +01:00
|
|
|
else if (c < 040) {
|
|
|
|
*q++ = '^';
|
|
|
|
*q++ = c ^ 0100;
|
|
|
|
- } else if (c == 0177 || (c & 0177) < 040) {
|
|
|
|
+ } else if (c == 0177 || c >= 0376) {
|
|
|
|
*q++ = '\\';
|
|
|
|
*q++ = '0' + ((c & 0300) >> 6);
|
|
|
|
*q++ = '0' + ((c & 0070) >> 3);
|