revert change that didn't actually change anything, and fix formatting of conditional expression so it's more clear what it does
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@352 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
2ce7890fdd
commit
fe9fff6dcb
9
q931.c
9
q931.c
@ -1061,12 +1061,9 @@ static FUNC_SEND(transmit_display)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!call->callername[0])
|
||||
return 0;
|
||||
|
||||
if ((pri->switchtype == PRI_SWITCH_QSIG)
|
||||
|| ((pri->switchtype == PRI_SWITCH_EUROISDN_E1) && (pri->localtype == PRI_CPE)) ||
|
||||
!call->callername[0])
|
||||
if ((pri->switchtype == PRI_SWITCH_QSIG) ||
|
||||
((pri->switchtype == PRI_SWITCH_EUROISDN_E1) && (pri->localtype == PRI_CPE)) ||
|
||||
!call->callername[0])
|
||||
return 0;
|
||||
|
||||
i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user