summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
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... */
}