1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-04 09:44:26 +00:00

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

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