[asterisk-commits] branch 1.2 - r7433 /branches/1.2/include/asterisk/linkedlists.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Dec 12 11:19:30 CST 2005


Author: tilghman
Date: Mon Dec 12 11:19:29 2005
New Revision: 7433

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

Modified:
    branches/1.2/include/asterisk/linkedlists.h

Modified: branches/1.2/include/asterisk/linkedlists.h
URL: http://svn.digium.com/view/asterisk/branches/1.2/include/asterisk/linkedlists.h?rev=7433&r1=7432&r2=7433&view=diff
==============================================================================
--- branches/1.2/include/asterisk/linkedlists.h (original)
+++ branches/1.2/include/asterisk/linkedlists.h Mon Dec 12 11:19:29 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