提交 97918f47 authored 作者: William King's avatar William King

Since I can't seem to locate what this might be used for, or the more correct…

Since I can't seem to locate what this might be used for, or the more correct solution, I'm going to comment it out for now. If someone can find a better solution so that this functionality would actually work, please advise.
上级 5c60bd6b
......@@ -916,8 +916,10 @@ static switch_status_t switch_event_base_add_header(switch_event_t *event, switc
if (index_ptr || (stack & SWITCH_STACK_PUSH) || (stack & SWITCH_STACK_UNSHIFT)) {
if (!(header = switch_event_get_header_ptr(event, header_name)) && index_ptr) {
header = new_header(header_name);
/*
* Removing a possible leak. But it doesn't appear this is used anywhere, and even if it were then it wouldn't be working.
header = new_header(header_name);
*/
if (switch_test_flag(event, EF_UNIQ_HEADERS)) {
switch_event_del_header(event, header_name);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论