mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-13 07:41:51 +00:00
fix mod_yaml build on newer gcc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9382 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -276,6 +276,9 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_set_attr(switch_xml_t xml, const char *n
|
||||
#define switch_xml_set_attr_d(xml, name, value) \
|
||||
switch_xml_set_attr(switch_xml_set_flag(xml, SWITCH_XML_DUP), strdup(name), strdup(switch_str_nil(value)))
|
||||
|
||||
#define switch_xml_set_attr_d_buf(xml, name, value) \
|
||||
switch_xml_set_attr(switch_xml_set_flag(xml, SWITCH_XML_DUP), strdup(name), strdup(value))
|
||||
|
||||
///\brief sets a flag for the given tag and returns the tag
|
||||
///\param xml the xml node
|
||||
///\param flag the flag to set
|
||||
|
||||
Reference in New Issue
Block a user