From c7af39c8a88700ffada5198cd0f1a36fff920c87 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Mon, 7 Dec 2009 20:48:12 +0200 Subject: [PATCH] fix for #26 (studio xml file corruption) --- daemon/graph.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/daemon/graph.c b/daemon/graph.c index 7fa4e5c6..b732b6b1 100644 --- a/daemon/graph.c +++ b/daemon/graph.c @@ -1756,16 +1756,17 @@ ladish_graph_iterate_nodes( list_for_each(client_node_ptr, &graph_ptr->clients) { client_ptr = list_entry(client_node_ptr, struct ladish_graph_client, siblings); - if (!client_begin_callback(callback_context, client_ptr->client, client_ptr->name, &client_context)) - { - return false; - } if (client_ptr->hidden) { continue; } + if (!client_begin_callback(callback_context, client_ptr->client, client_ptr->name, &client_context)) + { + return false; + } + list_for_each(port_node_ptr, &client_ptr->ports) { port_ptr = list_entry(port_node_ptr, struct ladish_graph_port, siblings_client); -- 2.11.4.GIT