[asterisk-commits] dvossel: trunk r245804 - /trunk/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 9 17:19:02 CST 2010


Author: dvossel
Date: Tue Feb  9 17:18:58 2010
New Revision: 245804

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=245804
Log:
fixes a merging error for the iaxs and iaxsl off by one fix

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=245804&r1=245803&r2=245804
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Feb  9 17:18:58 2010
@@ -1080,7 +1080,7 @@
 
 /* Flag to use with trunk calls, keeping these calls high up.  It halves our effective use
    but keeps the division between trunked and non-trunked better. */
-#define TRUNK_CALL_START	ARRAY_LEN(iaxs) / 2
+#define TRUNK_CALL_START	IAX_MAX_CALLS / 2
 
 /* Debug routines... */
 static struct sockaddr_in debugaddr;




More information about the asterisk-commits mailing list