forked from Mirrors/freeswitch
fix pointer thing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8891 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
53da93061a
commit
1328231c67
@ -1546,6 +1546,8 @@ 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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user