FS-3156 FS-3157 declinatio mortuus obfirmo!

This commit is contained in:
Anthony Minessale 2011-03-17 12:36:27 -05:00
parent 4fb646e587
commit 64bc19387c

View File

@ -313,7 +313,7 @@ static void event_handler(switch_event_t *event)
const char *hval; const char *hval;
send = 0; send = 0;
for (hp = l->filters->headers; hp; hp = hp->next) { for (hp = l->filters->headers; hp; hp = hp->next) {
if ((hval = switch_event_get_header(event, hp->name))) { if ((hval = switch_event_get_header(event, hp->name))) {
const char *comp_to = hp->value; const char *comp_to = hp->value;
@ -357,8 +357,9 @@ static void event_handler(switch_event_t *event)
} }
} }
} }
switch_mutex_unlock(l->filter_mutex);
} }
switch_mutex_unlock(l->filter_mutex);
} }
if (send && switch_test_flag(l, LFLAG_MYEVENTS)) { if (send && switch_test_flag(l, LFLAG_MYEVENTS)) {