aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-11 01:30:34 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-11 01:30:34 +0000
commit4087161a90df70b027dd1eef05a7e5054e281acf (patch)
treea7f716f1fbc9142f5fefd95243101f3e33b29365 /include
parent398cfbb083aa0f735a875c8101b580bc69b9b121 (diff)
issue #5669
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7067 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/linkedlists.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h
index fd2203cd7..cfe846225 100755
--- a/include/asterisk/linkedlists.h
+++ b/include/asterisk/linkedlists.h
@@ -138,7 +138,7 @@ struct name { \
*/
#define AST_LIST_HEAD_SET(head, entry) do { \
(head)->first = (entry); \
- (head)->last = NULL; \
+ (head)->last = (entry); \
ast_mutex_init(&(head)->lock); \
} while (0)
@@ -152,7 +152,7 @@ struct name { \
*/
#define AST_LIST_HEAD_SET_NOLOCK(head, entry) do { \
(head)->first = (entry); \
- (head)->last = NULL; \
+ (head)->last = (entry); \
} while (0)
/*!