part of FSCORE-61

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6314 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-11-16 23:04:34 +00:00
parent 465ba3d48c
commit 913171396e
1 changed files with 1 additions and 1 deletions

View File

@ -1758,7 +1758,7 @@ SWITCH_DECLARE(const char *) switch_xml_error(switch_xml_t xml)
// returns a new empty switch_xml structure with the given root tag name
SWITCH_DECLARE(switch_xml_t) switch_xml_new(const char *name)
{
static char *ent[] = { "lt;", "<", "gt;", ">", "quot;", """,
static const char *ent[] = { "lt;", "<", "gt;", ">", "quot;", """,
"apos;", "'", "amp;", "&", NULL
};
switch_xml_root_t root = (switch_xml_root_t) memset(malloc(sizeof(struct switch_xml_root)),