fix mod_yaml build on newer gcc

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9381 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2008-08-28 16:41:48 +00:00
1 parent ae4e0df864
commit 9b6501dd7c
2 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -476,7 +476,7 @@ static switch_status_t do_config(void)
} else {
switch_set_string(value, scalar_data);
if (!strcasecmp(category, "settings")) {
if (!strcasecmp(name, "bind_config") && switch_true(value)) {
if (!strcasecmp(name, "bind_config") && switch_true_buf(value)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Binding To XML Config\n");
switch_xml_bind_search_function(yaml_fetch, switch_xml_parse_section_string("config"), NULL);
}