mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
Merge pull request #1451 from dragos-oancea/fix-strcmp--
[mod_event_socket] fix strcmp crash
This commit is contained in:
commit
4fbca5c782
@ -377,7 +377,7 @@ static void event_handler(switch_event_t *event)
|
||||
if (!uuid || (l->session && strcmp(uuid, switch_core_session_get_uuid(l->session)))) {
|
||||
send = 0;
|
||||
}
|
||||
if (!strcmp(switch_core_session_get_uuid(l->session), switch_event_get_header_nil(event, "Job-Owner-UUID"))) {
|
||||
if (l->session && !strcmp(switch_core_session_get_uuid(l->session), switch_event_get_header_nil(event, "Job-Owner-UUID"))) {
|
||||
send = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user