mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-11 05:44:13 +00:00
swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10405 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
30279bbc43
commit
ff0c6deb89
3 files changed
+6
-6
No files matched your search
+3
-3
@@ -251,7 +251,7 @@ SWITCH_DECLARE(void *) switch_xml_get_binding_user_data(switch_xml_binding_t *bi
|
||||
}
|
||||
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_search_function_t function, switch_xml_section_t sections, void *user_data, switch_xml_binding_t **ret)
|
||||
SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_search_function_t function, switch_xml_section_t sections, void *user_data, switch_xml_binding_t **ret_binding)
|
||||
{
|
||||
switch_xml_binding_t *binding = NULL, *ptr = NULL;
|
||||
assert(function != NULL);
|
||||
@@ -273,8 +273,8 @@ SWITCH_DECLARE(switch_status_t) switch_xml_bind_search_function_ret(switch_xml_s
|
||||
BINDINGS = binding;
|
||||
}
|
||||
|
||||
if (ret) {
|
||||
*ret = binding;
|
||||
if (ret_binding) {
|
||||
*ret_binding = binding;
|
||||
}
|
||||
|
||||
switch_thread_rwlock_unlock(B_RWLOCK);
|
||||
|
||||
Reference in new issue
Block a user