FS-4715 --resolve

This commit is contained in:
Anthony Minessale 2012-10-15 12:48:03 -04:00
parent 245c6fc6ce
commit 4789c5f549

View File

@ -911,7 +911,7 @@ static switch_status_t switch_event_base_add_header(switch_event_t *event, switc
fly++;
}
if ((header = switch_event_get_header_ptr(event, header_name))) {
if (header || (header = switch_event_get_header_ptr(event, header_name))) {
if (index_ptr) {
if (index > -1 && index <= 4000) {