]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
AST_LIST_REMOVE_CURRENT only takes one argument in trunk
authorMark Michelson <mmichelson@digium.com>
Fri, 21 Dec 2007 17:40:44 +0000 (17:40 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 21 Dec 2007 17:40:44 +0000 (17:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94516 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/dial.c

index 26ffc1375aa60cefcdaf01fd8f9b0a1e38aef6df..1fd5bfe81ee5f1d08a68a8d15aa5aad0bea05202 100644 (file)
@@ -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;