[svn-commits] rmudgett: branch 1.8 r282671 - /branches/1.8/channels/chan_dahdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 18 10:27:54 CDT 2010


Author: rmudgett
Date: Wed Aug 18 10:27:51 2010
New Revision: 282671

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=282671
Log:
Use the correct operator when calculating the PRI span devstate.

Modified:
    branches/1.8/channels/chan_dahdi.c

Modified: branches/1.8/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_dahdi.c?view=diff&rev=282671&r1=282670&r2=282671
==============================================================================
--- branches/1.8/channels/chan_dahdi.c (original)
+++ branches/1.8/channels/chan_dahdi.c Wed Aug 18 10:27:51 2010
@@ -3112,7 +3112,7 @@
 			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;




More information about the svn-commits mailing list