From 2ee028dd5b628549915363af6c312948e12aa299 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 21 Jun 2007 13:44:53 +0000 Subject: syslogd: do not convert tabs to ^I --- sysklogd/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysklogd') diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index c8f1356..0ed16bc 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -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... */ } -- cgit v1.1