Fix some code in chan_sip that was intended to unlink multiple objects from a

container.  The OBJ_MULTIPLE flag must be provided here.  Otherwise, this would
only remove a single object.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@155241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-11-07 14:50:30 +00:00
parent 210df649a2
commit 1a239454f1
2 changed files with 9 additions and 6 deletions

View File

@@ -4108,7 +4108,7 @@ static int xmldoc_parse_argument(struct ast_xml_node *fixnode, int insideparamet
{
struct ast_xml_node *node = fixnode;
const char *argname;
int count=0, ret = 0;
int count = 0, ret = 0;
if (!node || !ast_xml_node_get_children(node)) {
return ret;