[Freeswitch-svn] [commit] r5563 - freeswitch/trunk/src/include
Freeswitch SVN
anthm at freeswitch.org
Fri Aug 3 12:26:33 EDT 2007
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 = ' ';
}
}
More information about the Freeswitch-svn
mailing list