syslogd: do not convert tabs to ^I

1_7_stable
Denis Vlasenko 2007-06-21 13:44:53 +00:00
parent b304eadca8
commit 2ee028dd5b
1 changed files with 1 additions and 1 deletions

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... */
}