aboutsummaryrefslogtreecommitdiffstats
path: root/main/dial.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-21 17:40:44 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-21 17:40:44 +0000
commit1c2f295df042c94ff16e5eea7bd8a8a4be3956d5 (patch)
treecd184806bccf373ab9f37e54bbd008a585b851b7 /main/dial.c
parent4b0258fbbe85e074197c18beb0b084e7600f7854 (diff)
AST_LIST_REMOVE_CURRENT only takes one argument in trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94516 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dial.c')
-rw-r--r--main/dial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dial.c b/main/dial.c
index 26ffc1375..1fd5bfe81 100644
--- a/main/dial.c
+++ b/main/dial.c
@@ -814,7 +814,7 @@ int ast_dial_destroy(struct ast_dial *dial)
/* Free structure */
ast_free(channel->tech);
ast_free(channel->device);
- AST_LIST_REMOVE_CURRENT(&dial->channels, list);
+ AST_LIST_REMOVE_CURRENT(list);
ast_free(channel);
}
AST_LIST_TRAVERSE_SAFE_END;