12 lines
388 B
Diff
12 lines
388 B
Diff
--- sysklogd-1.4.1/syslogd.c 2004-09-26 11:33:01.771437000 +0900
|
|
+++ sysklogd-1.4.1/syslogd.c 2004-09-26 11:41:27.136610056 +0900
|
|
@@ -1539,7 +1539,7 @@
|
|
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);
|