Revision
15130
Author
anthm
Date
2009-10-09 11:42:10 -0500 (Fri, 09 Oct 2009)

Log Message

expand range of acceptable chars  MODENDP-249

Modified Paths

Diff

Modified: freeswitch/trunk/src/include/switch_utils.h (15129 => 15130)


--- freeswitch/trunk/src/include/switch_utils.h	2009-10-09 16:38:43 UTC (rev 15129)
+++ freeswitch/trunk/src/include/switch_utils.h	2009-10-09 16:42:10 UTC (rev 15130)
@@ -355,7 +355,7 @@
 	char *p;
 	for (p = s; p && *p; p++) {
 		uint8_t x = (uint8_t) *p;
-		if ((x < 32 || x > 255) && x != '\n' && x != '\r') {
+		if ((x < 32) && x != '\n' && x != '\r') {
 			*p = ' ';
 		}
 	}