]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fixes a merging error for the iaxs and iaxsl off by one fix
authorDavid Vossel <dvossel@digium.com>
Tue, 9 Feb 2010 23:18:58 +0000 (23:18 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 9 Feb 2010 23:18:58 +0000 (23:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245804 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 47be4165563b53869f5a7e2413a6357939ef48b8..3221e0499829766ea677828f99e2bf22d31d73f0 100644 (file)
@@ -1080,7 +1080,7 @@ static struct ao2_container *iax_transfercallno_pvts;
 
 /* 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;