From: Richard Mudgett Date: Wed, 18 Aug 2010 15:27:51 +0000 (+0000) Subject: Use the correct operator when calculating the PRI span devstate. X-Git-Tag: 1.8.0-beta4~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2392b8ed1c789200b27f00e4b0e7814cc9683970;p=thirdparty%2Fasterisk.git Use the correct operator when calculating the PRI span devstate. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282671 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index da727ce2c3..58819d08f2 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -3112,7 +3112,7 @@ static void dahdi_pri_update_span_devstate(struct sig_pri_span *pri) if (pri->pvts[idx]->owner #if defined(HAVE_PRI_SERVICE_MESSAGES) /* Out-of-service B channels are "in-use". */ - && pri->pvts[idx]->service_status + || pri->pvts[idx]->service_status #endif /* defined(HAVE_PRI_SERVICE_MESSAGES) */ ) { ++in_use;