From ef09c506c8c0c2e0396aef42e6b354bdc3250729 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 12 Dec 2005 17:19:29 +0000 Subject: [PATCH] Typo git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7433 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/linkedlists.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index f687189e28..8dbd5dd5cd 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; \