From: Anthony Minessale Date: Fri, 9 Oct 2009 16:38:43 +0000 (+0000) Subject: expand range of acceptable chars MODENDP-249 X-Git-Tag: v1.0.6~1691 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d9eb15072ee2e64aec2f46cbd8f1b32a1e99d26;p=thirdparty%2Ffreeswitch.git expand range of acceptable chars MODENDP-249 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15129 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index 7cd798b145..a025182471 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -355,7 +355,7 @@ static inline char *switch_clean_string(char *s) char *p; for (p = s; p && *p; p++) { uint8_t x = (uint8_t) *p; - if ((x < 32 || x > 127) && x != '\n' && x != '\r') { + if ((x < 32 || x > 255) && x != '\n' && x != '\r') { *p = ' '; } }