From: Anthony Minessale Date: Thu, 17 Mar 2011 17:36:27 +0000 (-0500) Subject: FS-3156 FS-3157 declinatio mortuus obfirmo! X-Git-Tag: v1.2-rc1~171^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64bc19387c47f614ea883fde3e0b912f0cbc5649;p=thirdparty%2Ffreeswitch.git FS-3156 FS-3157 declinatio mortuus obfirmo! --- diff --git a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c index 5ec7ca9b79..f6a02623a7 100644 --- a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c +++ b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c @@ -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)) {