[Freeswitch-svn] [commit] r4248 - freeswitch/trunk/src/include
Freeswitch SVN
anthm at freeswitch.org
Tue Feb 13 20:01:58 EST 2007
Author: anthm
Date: Tue Feb 13 20:01:58 2007
New Revision: 4248
Modified:
freeswitch/trunk/src/include/switch_xml.h
Log:
add nil thing to xml func
Modified: freeswitch/trunk/src/include/switch_xml.h
==============================================================================
--- freeswitch/trunk/src/include/switch_xml.h (original)
+++ freeswitch/trunk/src/include/switch_xml.h Tue Feb 13 20:01:58 2007
@@ -265,7 +265,7 @@
///\param value the attribute value
///\return an xml node or NULL
#define switch_xml_set_attr_d(xml, name, value) \
- switch_xml_set_attr(switch_xml_set_flag(xml, SWITCH_XML_DUP), strdup(name), strdup(value))
+ switch_xml_set_attr(switch_xml_set_flag(xml, SWITCH_XML_DUP), strdup(name), strdup(switch_str_nil(value)))
///\brief sets a flag for the given tag and returns the tag
///\param xml the xml node
More information about the Freeswitch-svn
mailing list