From 79bb2373f9e91979003a0386c7a9a5613b8c8d39 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Wed, 5 Dec 2007 00:20:13 +0000 Subject: [PATCH] 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 --- q931.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/q931.c b/q931.c index cd8234c..0e8d9b4 100644 --- a/q931.c +++ b/q931.c @@ -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;