FSCORE-542

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16565 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Andrew Thompson 2010-02-03 19:55:36 +00:00
parent b1ca4e289b
commit 02a915c166
1 changed files with 5 additions and 1 deletions

View File

@ -414,7 +414,11 @@ static switch_xml_t erlang_fetch(const char *sectionstr, const char *tag_name, c
_ei_x_encode_string(&buf, key_name ? key_name : "undefined");
_ei_x_encode_string(&buf, key_value ? key_value : "undefined");
_ei_x_encode_string(&buf, uuid_str);
ei_encode_switch_event_headers(&buf, params);
if (params) {
ei_encode_switch_event_headers(&buf, params);
} else {
ei_x_encode_empty_list(&buf);
}
switch_core_hash_insert(ptr->listener->fetch_reply_hash, uuid_str, &globals.WAITING);