syslogd: do not convert tabs to ^I

This commit is contained in:
Denis Vlasenko 2007-06-21 13:44:53 +00:00
parent b304eadca8
commit 2ee028dd5b

View File

@ -467,7 +467,7 @@ static void split_escape_and_log(char *tmpbuf, int len)
while ((c = *p++)) {
if (c == '\n')
c = ' ';
if (!(c & ~0x1f)) {
if (!(c & ~0x1f) && c != '\t') {
*q++ = '^';
c += '@'; /* ^@, ^A, ^B... */
}