mirror of
https://github.com/libretro/RetroArch
synced 2024-07-08 12:15:49 +00:00
[UPnP] Stability fixes (#13652)
This commit is contained in:
parent
bc02f8319e
commit
023f427856
|
@ -442,11 +442,14 @@ static bool parse_external_address_node(rxml_node_t *node,
|
|||
/* XML recursion */
|
||||
rxml_node_t *child = node->children;
|
||||
|
||||
do
|
||||
if (child)
|
||||
{
|
||||
if (parse_external_address_node(child, device))
|
||||
return true;
|
||||
} while ((child = child->next));
|
||||
do
|
||||
{
|
||||
if (parse_external_address_node(child, device))
|
||||
return true;
|
||||
} while ((child = child->next));
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
@ -522,11 +525,14 @@ static bool parse_open_port_node(rxml_node_t *node,
|
|||
/* XML recursion */
|
||||
rxml_node_t *child = node->children;
|
||||
|
||||
do
|
||||
if (child)
|
||||
{
|
||||
if (parse_open_port_node(child, request))
|
||||
return true;
|
||||
} while ((child = child->next));
|
||||
do
|
||||
{
|
||||
if (parse_open_port_node(child, request))
|
||||
return true;
|
||||
} while ((child = child->next));
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user