[asterisk-commits] trunk r19305 - /trunk/channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 11 13:51:46 MST 2006


Author: file
Date: Tue Apr 11 15:51:45 2006
New Revision: 19305

URL: http://svn.digium.com/view/asterisk?rev=19305&view=rev
Log:
No need to do this in here any longer since the linkedlists macro is fixed

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=19305&r1=19304&r2=19305&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Apr 11 15:51:45 2006
@@ -847,7 +847,6 @@
 	thread = AST_LIST_FIRST(&idle_list);
 	if (thread != NULL) {
 		AST_LIST_REMOVE(&idle_list, thread, list);
-		thread->list.next = NULL;
 	}
 	AST_LIST_UNLOCK(&idle_list);
 
@@ -857,7 +856,6 @@
 		thread = AST_LIST_FIRST(&dynamic_list);
 		if (thread != NULL) {
 			AST_LIST_REMOVE(&dynamic_list, thread, list);
-			thread->list.next = NULL;
 		}
 		/* Make sure we absolutely have a thread... if not, try to make one if allowed */
 		if (thread == NULL && iaxmaxthreadcount > iaxdynamicthreadcount) {
@@ -8024,7 +8022,6 @@
 		/* Now... remove ourselves from the active list, and return to the idle list */
 		AST_LIST_LOCK(&active_list);
 		AST_LIST_REMOVE(&active_list, thread, list);
-		thread->list.next = NULL;
 		AST_LIST_UNLOCK(&active_list);
 
 		/* Go back into our respective list */



More information about the asterisk-commits mailing list