liblog: printable do not escape tabs

(cherry pick from commit 65d5ca2001)

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 25755153
Change-Id: I99324e751db0e1ed1eb00820e82b176b6d789249
This commit is contained in:
Mark Salyzyn 2015-11-18 09:58:00 -08:00
parent b10978e5cd
commit bf16b2d915

View file

@ -908,7 +908,7 @@ static size_t convertPrintable(char *p, const char *message, size_t messageLen)
} else if (*message == '\b') {
strcpy(buf, "\\b");
} else if (*message == '\t') {
strcpy(buf, "\\t");
strcpy(buf, "\t"); // Do not escape tabs
} else if (*message == '\v') {
strcpy(buf, "\\v");
} else if (*message == '\f') {