diff options
author | Denis Vlasenko | 2007-06-21 13:44:53 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-06-21 13:44:53 +0000 |
commit | 2ee028dd5b628549915363af6c312948e12aa299 (patch) | |
tree | db6efc8f8cd3f200c97983e11d3ca9ff469d492e /sysklogd | |
parent | b304eadca8c551672d07a12c08b2f92456819187 (diff) | |
download | busybox-2ee028dd5b628549915363af6c312948e12aa299.zip busybox-2ee028dd5b628549915363af6c312948e12aa299.tar.gz |
syslogd: do not convert tabs to ^I
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 2 |
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... */ } |