mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5267 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
b7c178f2d5
commit
0e3b4cada3
3 files changed
+15
-13
No files matched your search
@@ -177,11 +177,13 @@ switch_mutex_unlock(obj->flag_mutex);
|
||||
|
||||
#define switch_set_string(_dst, _src) switch_copy_string(_dst, _src, sizeof(_dst))
|
||||
|
||||
static __inline__ void switch_clean_string(char *s)
|
||||
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) { *p = ' '; }
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user