Fix for bug, where boxes for applications, started by ladish, doesn't present in graph(cherry picked from commit 3da9457b70158ccff58f2f20c8d4565546a6f8c3)

This commit is contained in:
Nikita Zlobin 2010-10-01 22:14:08 +06:00 committed by Nedko Arnaudov
parent fcc998e974
commit 8a19420e9f
1 changed files with 3 additions and 1 deletions

View File

@ -1611,7 +1611,9 @@ ladish_client_handle ladish_graph_find_client_by_app(ladish_graph_handle graph_h
list_for_each(node_ptr, &graph_ptr->clients)
{
client_ptr = list_entry(node_ptr, struct ladish_graph_client, siblings);
ladish_client_get_app(client_ptr->client, current_uuid);
if(! ladish_client_get_app(client_ptr->client, current_uuid))
continue;
if (uuid_compare(current_uuid, app_uuid) == 0)
{
return client_ptr->client;