From 23ccbfc12210d1cdeaf39697ea36f91ba0fec44d Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 12 Dec 2005 17:20:21 +0000 Subject: Typo git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7434 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/linkedlists.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/linkedlists.h') diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index f687189e2..8dbd5dd5c 100644 --- a/include/asterisk/linkedlists.h +++ b/include/asterisk/linkedlists.h @@ -424,7 +424,7 @@ struct { \ #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; \ -- cgit v1.2.3