[asterisk-commits] crichter: branch 1.2 r58558 - /branches/1.2/channels/misdn/isdn_lib.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Mar 9 07:43:58 MST 2007


Author: crichter
Date: Fri Mar  9 08:43:58 2007
New Revision: 58558

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58558
Log:
we can free channel 31 as well, since we can occupy it

Modified:
    branches/1.2/channels/misdn/isdn_lib.c

Modified: branches/1.2/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/misdn/isdn_lib.c?view=diff&rev=58558&r1=58557&r2=58558
==============================================================================
--- branches/1.2/channels/misdn/isdn_lib.c (original)
+++ branches/1.2/channels/misdn/isdn_lib.c Fri Mar  9 08:43:58 2007
@@ -447,7 +447,7 @@
 
 int empty_chan_in_stack(struct misdn_stack *stack, int channel)
 {
-	if (channel<=0 || channel>=MAX_BCHANS) {
+	if (channel<=0 || channel>MAX_BCHANS) {
 		cb_log(0,stack?stack->port:0, "empty_chan_in_stack: cannot empty channel %d\n",channel);
 		return -1;
 	}



More information about the asterisk-commits mailing list