FS-3468 --resolve

This commit is contained in:
Jeff Lenk 2011-08-01 09:50:04 -05:00
parent 2b6a4f97c3
commit 69e61f762b
1 changed files with 1 additions and 2 deletions

View File

@ -3302,8 +3302,7 @@ SWITCH_STANDARD_API(break_function)
if (both) {
const char *quuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE);
if (quuid) {
qsession = switch_core_session_locate(quuid);
if (quuid && (qsession = switch_core_session_locate(quuid))) {
qchannel = switch_core_session_get_channel(qsession);
}
}