提交 61dcfa51 authored 作者: Michael Jerris's avatar Michael Jerris

indentation.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5280 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d46578db
...@@ -178,10 +178,14 @@ switch_mutex_unlock(obj->flag_mutex); ...@@ -178,10 +178,14 @@ switch_mutex_unlock(obj->flag_mutex);
#define switch_set_string(_dst, _src) switch_copy_string(_dst, _src, sizeof(_dst)) #define switch_set_string(_dst, _src) switch_copy_string(_dst, _src, sizeof(_dst))
static inline char *switch_clean_string(char *s) static inline char *switch_clean_string(char *s)
{ char *p; {
char *p;
for (p = s; p && *p; p++) { uint8_t x = (uint8_t) *p; if (x < 32 || x > 127) { *p = ' '; } for (p = s; p && *p; p++) {
} uint8_t x = (uint8_t) *p;
if (x < 32 || x > 127) {
*p = ' ';
}
}
return s; return s;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论