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
1 changed files with 3 additions and 2 deletions

View File

@ -313,7 +313,7 @@ static void event_handler(switch_event_t *event)
const char *hval;
send = 0;
for (hp = l->filters->headers; hp; hp = hp->next) {
if ((hval = switch_event_get_header(event, hp->name))) {
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)) {