[svn-commits] mmichelson: trunk r89122 - /trunk/main/threadstorage.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 8 15:31:06 CST 2007


Author: mmichelson
Date: Thu Nov  8 15:31:06 2007
New Revision: 89122

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89122
Log:
AST_LIST_REMOVE_CURRENT takes only one argument.
Thanks to snuffy for pointing this out on IRC


Modified:
    trunk/main/threadstorage.c

Modified: trunk/main/threadstorage.c
URL: http://svn.digium.com/view/asterisk/trunk/main/threadstorage.c?view=diff&rev=89122&r1=89121&r2=89122
==============================================================================
--- trunk/main/threadstorage.c (original)
+++ trunk/main/threadstorage.c Thu Nov  8 15:31:06 2007
@@ -78,7 +78,7 @@
 	AST_RWLIST_WRLOCK(&tls_objects);
 	AST_LIST_TRAVERSE_SAFE_BEGIN(&tls_objects, to, entry) {
 		if (to->key == key) {
-			AST_LIST_REMOVE_CURRENT(&tls_objects, entry);
+			AST_LIST_REMOVE_CURRENT(entry);
 			break;
 		}
 	}




More information about the svn-commits mailing list