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:
Kevin P. Fleming 2006-06-08 22:34:25 +00:00
parent 2ce7890fdd
commit fe9fff6dcb

9
q931.c
View File

@ -1061,12 +1061,9 @@ 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)) ||
!call->callername[0])
if ((pri->switchtype == PRI_SWITCH_QSIG)
|| ((pri->switchtype == PRI_SWITCH_EUROISDN_E1) && (pri->localtype == PRI_CPE)) ||
!call->callername[0])
return 0; return 0;
i = 0; i = 0;