[asterisk-commits] trunk - r7434 /trunk/include/asterisk/linkedlists.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Dec 12 11:20:22 CST 2005


Author: tilghman
Date: Mon Dec 12 11:20:21 2005
New Revision: 7434

URL: http://svn.digium.com/view/asterisk?rev=7434&view=rev
Log:
Typo

Modified:
    trunk/include/asterisk/linkedlists.h

Modified: trunk/include/asterisk/linkedlists.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/linkedlists.h?rev=7434&r1=7433&r2=7434&view=diff
==============================================================================
--- trunk/include/asterisk/linkedlists.h (original)
+++ trunk/include/asterisk/linkedlists.h Mon Dec 12 11:20:21 2005
@@ -424,7 +424,7 @@
 #define AST_LIST_REMOVE(head, elm, field) do {			        \
 	if ((head)->first == (elm)) {					\
 		(head)->first = (elm)->field.next;			\
-		if ((head)->last = (elm))			\
+		if ((head)->last == (elm))			\
 			(head)->last = NULL;			\
 	} else {								\
 		typeof(elm) curelm = (head)->first;			\



More information about the asterisk-commits mailing list