[svn-commits] mattf: trunk r493 - /trunk/q931.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 4 18:20:13 CST 2007


Author: mattf
Date: Tue Dec  4 18:20:13 2007
New Revision: 493

URL: http://svn.digium.com/view/libpri?view=rev&rev=493
Log:
Improve the parameter name to better reflect its use

Modified:
    trunk/q931.c

Modified: trunk/q931.c
URL: http://svn.digium.com/view/libpri/trunk/q931.c?view=diff&rev=493&r1=492&r2=493
==============================================================================
--- trunk/q931.c (original)
+++ trunk/q931.c Tue Dec  4 18:20:13 2007
@@ -2177,7 +2177,7 @@
 	pri_error(pri, "!! %c Unknown IE %d (cs%d, len = %d)\n", prefix, Q931_IE_IE(base_ie), Q931_IE_CODESET(base_ie), ielen(ie));
 }
 
-static q931_call *q931_getcall(struct pri *pri, int cr, int newcall)
+static q931_call *q931_getcall(struct pri *pri, int cr, int outboundnew)
 {
 	q931_call *cur, *prev;
 	struct pri *master;
@@ -2202,7 +2202,7 @@
 		/* Call reference */
 		cur->cr = cr;
 		/* PRI is set to whoever called us */
-		if (pri->bri && (pri->localtype == PRI_CPE) && pri->subchannel && newcall)
+		if (pri->bri && (pri->localtype == PRI_CPE) && pri->subchannel && outboundnew)
 			cur->pri = pri->subchannel;
 		else
 			cur->pri = pri;




More information about the svn-commits mailing list