forked from Mirrors/freeswitch
fix seg in recent change
This commit is contained in:
parent
dbd5d2575e
commit
8a3c292534
@ -545,7 +545,7 @@ static switch_status_t channel_on_hangup(switch_core_session_t *session)
|
||||
tokencnt = ftdm_channel_get_token_count(tech_pvt->ftdmchan);
|
||||
for (t = 0; t < tokencnt; t++) {
|
||||
token = ftdm_channel_get_token(tech_pvt->ftdmchan, tokencnt);
|
||||
if (!strcasecmp(uuid, token)) {
|
||||
if (!zstr(token) && !strcasecmp(uuid, token)) {
|
||||
uuid_found = 1;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user