From 8fb55e2478aa153f0ce960b445352998125146f4 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 31 Oct 2005 15:34:11 +0000 Subject: fix various bugs related to list handling of channel variables (issue #5548) use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6900 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_dundi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbx/pbx_dundi.c') diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index 0dce9670f..c0165d962 100755 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -559,7 +559,7 @@ static int dundi_lookup_local(struct dundi_result *dr, struct dundi_mapping *map dr[anscnt].eid = *us_eid; dundi_eid_to_str(dr[anscnt].eid_str, sizeof(dr[anscnt].eid_str), &dr[anscnt].eid); if (ast_test_flag(&flags, DUNDI_FLAG_EXISTS)) { - AST_LIST_HEAD_INIT(&headp); + AST_LIST_HEAD_INIT_NOLOCK(&headp); newvariable = ast_var_assign("NUMBER", called_number); AST_LIST_INSERT_HEAD(&headp, newvariable, entries); newvariable = ast_var_assign("EID", dr[anscnt].eid_str); -- cgit v1.2.3