[Asterisk-cvs] asterisk/include/asterisk linkedlists.h,1.19,1.20

kpfleming kpfleming
Thu Nov 10 20:39:49 CST 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv11037/include/asterisk

Modified Files:
	linkedlists.h 
Log Message:
issue #5669


Index: linkedlists.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/linkedlists.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- linkedlists.h	31 Oct 2005 15:34:11 -0000	1.19
+++ linkedlists.h	11 Nov 2005 01:30:34 -0000	1.20
@@ -138,7 +138,7 @@
 */
 #define AST_LIST_HEAD_SET(head, entry) do {				\
 	(head)->first = (entry);					\
-	(head)->last = NULL;						\
+	(head)->last = (entry);						\
 	ast_mutex_init(&(head)->lock);					\
 } while (0)
 
@@ -152,7 +152,7 @@
 */
 #define AST_LIST_HEAD_SET_NOLOCK(head, entry) do {			\
 	(head)->first = (entry);					\
-	(head)->last = NULL;						\
+	(head)->last = (entry);						\
 } while (0)
 
 /*!




More information about the svn-commits mailing list