Skip to content
Snippets Groups Projects
Commit 7e939cb2 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

issue #5669

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 9e4c207d
No related branches found
No related tags found
No related merge requests found
2005-11-10 Kevin P. Fleming <kpfleming@digium.com> 2005-11-10 Kevin P. Fleming <kpfleming@digium.com>
* include/asterisk/linkedlists.h (AST_LIST_HEAD_SET_NOLOCK): properly initialize tail pointer when list head is directly set (issue #5669)
* app.c (ast_app_parse_options): ok, so we aren't all perfect... let's make the while loop actually work properly here (issue #5684) * app.c (ast_app_parse_options): ok, so we aren't all perfect... let's make the while loop actually work properly here (issue #5684)
* apps/app_disa.c (disa_exec): correct password file parsing (issue #5676) * apps/app_disa.c (disa_exec): correct password file parsing (issue #5676)
......
...@@ -138,7 +138,7 @@ struct name { \ ...@@ -138,7 +138,7 @@ struct name { \
*/ */
#define AST_LIST_HEAD_SET(head, entry) do { \ #define AST_LIST_HEAD_SET(head, entry) do { \
(head)->first = (entry); \ (head)->first = (entry); \
(head)->last = NULL; \ (head)->last = (entry); \
ast_mutex_init(&(head)->lock); \ ast_mutex_init(&(head)->lock); \
} while (0) } while (0)
...@@ -152,7 +152,7 @@ struct name { \ ...@@ -152,7 +152,7 @@ struct name { \
*/ */
#define AST_LIST_HEAD_SET_NOLOCK(head, entry) do { \ #define AST_LIST_HEAD_SET_NOLOCK(head, entry) do { \
(head)->first = (entry); \ (head)->first = (entry); \
(head)->last = NULL; \ (head)->last = (entry); \
} while (0) } while (0)
/*! /*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment