提交 1328231c authored 作者: Anthony Minessale's avatar Anthony Minessale

fix pointer thing

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8891 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 53da9306
...@@ -1545,7 +1545,9 @@ static char *switch_xml_ampencode(const char *s, switch_size_t len, char **dst, ...@@ -1545,7 +1545,9 @@ static char *switch_xml_ampencode(const char *s, switch_size_t len, char **dst,
{ {
const char *e = NULL; const char *e = NULL;
int immune = 0; int immune = 0;
if (!s && *s) return *dst;
if (len) { if (len) {
e = s + len; e = s + len;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论