[Freeswitch-svn] [commit] r7897 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Sun Mar 16 14:31:28 EDT 2008


Author: mikej
Date: Sun Mar 16 14:31:27 2008
New Revision: 7897

Modified:
   freeswitch/trunk/src/switch_event.c

Log:
an array of any other size..... 

Modified: freeswitch/trunk/src/switch_event.c
==============================================================================
--- freeswitch/trunk/src/switch_event.c	(original)
+++ freeswitch/trunk/src/switch_event.c	Sun Mar 16 14:31:27 2008
@@ -47,7 +47,7 @@
 static switch_mutex_t *POOL_LOCK = NULL;
 static switch_memory_pool_t *RUNTIME_POOL = NULL;
 static switch_memory_pool_t *THRUNTIME_POOL = NULL;
-static switch_queue_t *EVENT_QUEUE[3] = { 0, 0, 0 };
+static switch_queue_t *EVENT_QUEUE[MAX_DISPATCH] = { 0 };
 static switch_queue_t *EVENT_DISPATCH_QUEUE[MAX_DISPATCH] = { 0 };
 static int POOL_COUNT_MAX = SWITCH_CORE_QUEUE_LEN;
 static switch_mutex_t *EVENT_QUEUE_MUTEX = NULL;
@@ -398,7 +398,7 @@
 static void launch_dispatch_threads(int max, int len, switch_memory_pool_t *pool)
 {
 	switch_thread_t *thread;
-    switch_threadattr_t *thd_attr;;
+    switch_threadattr_t *thd_attr;
 	int index = 0;
 
 	if (max > MAX_DISPATCH) {



More information about the Freeswitch-svn mailing list