]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
expand range of acceptable chars MODENDP-249
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 9 Oct 2009 16:42:10 +0000 (16:42 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 9 Oct 2009 16:42:10 +0000 (16:42 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15130 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_utils.h

index a025182471ab99b2da0044f81aa71172bf95cd8c..966f4e5a47ee42d3c2fa0474fba3ea022ebff378 100644 (file)
@@ -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 > 255) && x != '\n' && x != '\r') {
+               if ((x < 32) && x != '\n' && x != '\r') {
                        *p = ' ';
                }
        }