ladishd: Don't skip hidden a2j ports. Fix for #140 and #130

if the app is stopped, its a2j ports will be hidden; a2j client is not
associated with any app, only a2j ports are.
This commit is contained in:
Nedko Arnaudov 2010-12-24 17:41:08 +02:00
parent df4def70b2
commit 93fe0427c1
1 changed files with 1 additions and 1 deletions

View File

@ -2296,7 +2296,7 @@ ladish_graph_iterate_nodes(
{
port_ptr = list_entry(port_node_ptr, struct ladish_graph_port, siblings_client);
if (skip_hidden && port_ptr->hidden && !ladish_client_has_app(port_ptr->client_ptr->client))
if (skip_hidden && port_ptr->hidden && !ladish_port_has_app(port_ptr->port))
{
continue;
}