3 Aug
2007
3 Aug
'07
4:26 p.m.
Author: anthm Date: Fri Aug 3 12:26:32 2007 New Revision: 5563 Modified: freeswitch/trunk/src/include/switch_utils.h Log: stupidly forgot to include linefeed and carraige return in ok chars for vars thus breaking bypass_media mode for who knows how long... Modified: freeswitch/trunk/src/include/switch_utils.h ============================================================================== --- freeswitch/trunk/src/include/switch_utils.h (original) +++ freeswitch/trunk/src/include/switch_utils.h Fri Aug 3 12:26:32 2007 @@ -182,7 +182,7 @@ char *p; for (p = s; p && *p; p++) { uint8_t x = (uint8_t) *p; - if (x < 32 || x > 127) { + if ((x < 32 || x > 127) && x != '\n' && x != '\r') { *p = ' '; } }