[svn-commits] trunk r352 - /trunk/q931.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jun 8 15:34:26 MST 2006


Author: kpfleming
Date: Thu Jun  8 17:34:25 2006
New Revision: 352

URL: http://svn.digium.com/view/libpri?rev=352&view=rev
Log:
revert change that didn't actually change anything, and fix formatting of conditional expression so it's more clear what it does

Modified:
    trunk/q931.c

Modified: trunk/q931.c
URL: http://svn.digium.com/view/libpri/trunk/q931.c?rev=352&r1=351&r2=352&view=diff
==============================================================================
--- trunk/q931.c (original)
+++ trunk/q931.c Thu Jun  8 17:34:25 2006
@@ -1061,12 +1061,9 @@
 {
 	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;



More information about the svn-commits mailing list