From 984293415423f4bbff8ec56a2995398e7a8a1f95 Mon Sep 17 00:00:00 2001 From: Anthony Minessale II Date: Fri, 16 Sep 2005 17:15:57 +0000 Subject: [PATCH] fixing compile errors! check the patch but if it's wrong it's better than not compiling at all git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@250 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- pri_facility.c | 2 +- q931.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pri_facility.c b/pri_facility.c index 45038e1..ca6a7bc 100755 --- a/pri_facility.c +++ b/pri_facility.c @@ -1300,7 +1300,7 @@ extern int pri_call_add_standard_apdus(struct pri *pri, q931_call *call) if (pri->switchtype == PRI_SWITCH_QSIG) { /* For Q.SIG it does network and cpe operations */ /* FIXME: Presumably, it should only send on a redirect */ - if (call->redirecting) + if (call->redirectingnum) rose_diverting_leg_information2_encode(pri, call); add_callername_facility_ies(pri, call, 1); } diff --git a/q931.c b/q931.c index 1b03aff..ef5dbea 100755 --- a/q931.c +++ b/q931.c @@ -361,7 +361,7 @@ static FUNC_SEND(transmit_channel_id) return 0; } - if ((pri->switchtype != PRI_SWITCH_QSIG) && (call->ds1no > 0) || call->ds1explicit) { + if (((pri->switchtype != PRI_SWITCH_QSIG) && (call->ds1no > 0)) || call->ds1explicit) { /* Note that we are specifying the identifier */ ie->data[pos++] |= 0x40; /* We need to use the Channel Identifier Present thingy. Just specify it and we're done */