aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-12 17:19:29 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-12 17:19:29 +0000
commit12c02f4963dbcc3c189a02d91d5ba5a261ccc70c (patch)
treefafb73024644b4181da2f7d06091294b5f08c0cc
parent538a158263554a7c43bc26d8e1ca166c6d5c3964 (diff)
Typo
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7433 f38db490-d61c-443f-a65b-d21fe96a405b
-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; \