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
7
q931.c
7
q931.c
@ -1061,11 +1061,8 @@ static FUNC_SEND(transmit_display)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (!call->callername[0])
|
if ((pri->switchtype == PRI_SWITCH_QSIG) ||
|
||||||
return 0;
|
((pri->switchtype == PRI_SWITCH_EUROISDN_E1) && (pri->localtype == PRI_CPE)) ||
|
||||||
|
|
||||||
if ((pri->switchtype == PRI_SWITCH_QSIG)
|
|
||||||
|| ((pri->switchtype == PRI_SWITCH_EUROISDN_E1) && (pri->localtype == PRI_CPE)) ||
|
|
||||||
!call->callername[0])
|
!call->callername[0])
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user