提交 61a4af25 authored 作者: Leon de Rooij's avatar Leon de Rooij

Forgot one declaration

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk/contrib@15787 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 fa8a7ad4
...@@ -175,13 +175,13 @@ static switch_status_t xml_odbc_do_set_event_header(xml_odbc_session_helper_t *h ...@@ -175,13 +175,13 @@ static switch_status_t xml_odbc_do_set_event_header(xml_odbc_session_helper_t *h
char *to_value = (char *) switch_xml_attr(helper->xml_in_cur, "to-value"); char *to_value = (char *) switch_xml_attr(helper->xml_in_cur, "to-value");
char *old_value = NULL; char *old_value = NULL;
switch_status_t status = SWITCH_STATUS_FALSE;
if (if_name) { if_name = switch_event_expand_headers_by_pool(helper->pool, helper->event, if_name); } if (if_name) { if_name = switch_event_expand_headers_by_pool(helper->pool, helper->event, if_name); }
if (if_value) { if_value = switch_event_expand_headers_by_pool(helper->pool, helper->event, if_value); } if (if_value) { if_value = switch_event_expand_headers_by_pool(helper->pool, helper->event, if_value); }
if (to_name) { to_name = switch_event_expand_headers_by_pool(helper->pool, helper->event, to_name); } if (to_name) { to_name = switch_event_expand_headers_by_pool(helper->pool, helper->event, to_name); }
if (to_value) { to_value = switch_event_expand_headers_by_pool(helper->pool, helper->event, to_value); } if (to_value) { to_value = switch_event_expand_headers_by_pool(helper->pool, helper->event, to_value); }
switch_status_t status = SWITCH_STATUS_FALSE;
if (if_value && !if_name) { if (if_value && !if_name) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "xml-odbc-do [%s] if_name is required when if_value given\n", name); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "xml-odbc-do [%s] if_name is required when if_value given\n", name);
goto done; goto done;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论