[svn-commits] dvossel: branch 1.2 r245874 - /branches/1.2/channels/chan_iax2.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 9 17:35:59 CST 2010


Author: dvossel
Date: Tue Feb  9 17:35:55 2010
New Revision: 245874

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=245874
Log:
fixes regression caused by randomized call numbers.

(closes issue 0015997)
    Reported by: exarv
    Patches:
          iax_fix.diff uploaded by dvossel (license 671)

Modified:
    branches/1.2/channels/chan_iax2.c

Modified: branches/1.2/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.2/channels/chan_iax2.c?view=diff&rev=245874&r1=245873&r2=245874
==============================================================================
--- branches/1.2/channels/chan_iax2.c (original)
+++ branches/1.2/channels/chan_iax2.c Tue Feb  9 17:35:55 2010
@@ -824,8 +824,8 @@
 
 
 /* XXX We probably should use a mutex when working with this XXX */
-static struct chan_iax2_pvt *iaxs[IAX_MAX_CALLS];
-static ast_mutex_t iaxsl[IAX_MAX_CALLS];
+static struct chan_iax2_pvt *iaxs[IAX_MAX_CALLS + 1];
+static ast_mutex_t iaxsl[IAX_MAX_CALLS + 1];
 
 /*!
  * \brief Another container of iax2_pvt structures




More information about the svn-commits mailing list