ladishd: make vgraph filtering in interlink_client() actually work

This commit is contained in:
Nedko Arnaudov 2010-12-25 18:17:19 +02:00
parent a515997dbf
commit 072bae001a
1 changed files with 3 additions and 1 deletions

View File

@ -298,9 +298,11 @@ interlink_client(
ladish_app_handle app;
bool interlinked;
bool jmcore;
ladish_graph_handle vgraph;
ASSERT(ctx_ptr->vgraph != NULL);
if (ctx_ptr->vgraph != ladish_client_get_vgraph(jclient))
vgraph = ladish_client_get_vgraph(jclient);
if (vgraph != NULL && ctx_ptr->vgraph != vgraph)
{
/* skip clients of different vgraphs */
return true;