Typo
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 12 Dec 2005 17:20:21 +0000 (17:20 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 12 Dec 2005 17:20:21 +0000 (17:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7434 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/linkedlists.h

index f687189..8dbd5dd 100644 (file)
@@ -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;                     \