summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2005-12-12 17:20:21 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2005-12-12 17:20:21 +0000
commit23ccbfc12210d1cdeaf39697ea36f91ba0fec44d (patch)
tree6b34d84cfbf0dbc1a84e7df3f15afe7eab0175d1 /include
parentfcbe92835379fe6c926b2faee32902f906e6ffc5 (diff)
Typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/linkedlists.h2
1 files changed, 1 insertions, 1 deletions
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; \