[asterisk-commits] russell: trunk r80408 - /trunk/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 22 16:35:08 CDT 2007


Author: russell
Date: Wed Aug 22 16:35:08 2007
New Revision: 80408

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80408
Log:
allow peers and users to go into a hash table

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=80408&r1=80407&r2=80408
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Aug 22 16:35:08 2007
@@ -666,11 +666,9 @@
  * containers is considered random, so you will not be able to depend on
  * the order the entires are specified in iax.conf for matching order. */
 #ifdef LOW_MEMORY
-#define MAX_PEER_BUCKETS 1
-/* #define MAX_PEER_BUCKETS 17 */
+#define MAX_PEER_BUCKETS 17
 #else
-#define MAX_PEER_BUCKETS 1
-/* #define MAX_PEER_BUCKETS 563 */
+#define MAX_PEER_BUCKETS 563
 #endif
 static ao2_container *peers;
 




More information about the asterisk-commits mailing list