[Freeswitch-trunk] [commit] r6314 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Fri Nov 16 18:04:34 EST 2007
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)),
More information about the Freeswitch-trunk
mailing list