Author: mikej Date: Fri Nov 16 18:04:34 2007 New Revision: 6314 Modified: freeswitch/trunk/src/switch_xml.cpp Log: part of FSCORE-61 Modified: freeswitch/trunk/src/switch_xml.cpp ============================================================================== --- freeswitch/trunk/src/switch_xml.cpp (original) +++ freeswitch/trunk/src/switch_xml.cpp Fri Nov 16 18:04:34 2007 @@ -1758,7 +1758,7 @@ // 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)),
participants (1)
-
Freeswitch SVN