FS-9072: [mod_syslog] Allow logging of messages with tab character

mod_syslog silently drop messages containing tabs character 0x09 and thus does not log (f.e.) exceptions from lua code.
This commit is contained in:
Artem Karukov 2016-04-14 07:43:31 -07:00
parent 0462026b39
commit 50bf8dcddd
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ static int find_unprintable(const char *s)
const char *p;
for(p = s; p && *p; p++) {
if (*p < 10 || *p == 27) {
if (*p < 9 || *p == 27) {
return 1;
}
}