FS-4758 try this

This commit is contained in:
Jeff Lenk 2012-10-29 23:16:46 -05:00
parent fe4d736ff9
commit acd73bfaee
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ static void event_handler(switch_event_t *event)
if (send && switch_test_flag(l, LFLAG_MYEVENTS)) {
char *uuid = switch_event_get_header(event, "unique-id");
if (!uuid || strcmp(uuid, switch_core_session_get_uuid(l->session))) {
if (!uuid || (l->session && strcmp(uuid, switch_core_session_get_uuid(l->session)))) {
send = 0;
}
}