Improve the parameter name to better reflect its use

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@493 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Matthew Fredrickson
2007-12-05 00:20:13 +00:00
parent dd553ed543
commit 79bb2373f9

4
q931.c
View File

@@ -2177,7 +2177,7 @@ static inline void q931_dumpie(struct pri *pri, int codeset, q931_ie *ie, char p
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 @@ static q931_call *q931_getcall(struct pri *pri, int cr, int newcall)
/* 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;