Fix: only add components to graph if they are not already present
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 10 Mar 2017 19:16:46 +0000 (14:16 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:38 +0000 (12:57 -0400)
commitffeb0eed311c1833ef3309d99adaeb8a199f67de
treea076730a68fe4e97c8e6b437ef9f2b126f3cf8bf
parent5ed184457e505c1cf104918ebec0fc2ce528d89d
Fix: only add components to graph if they are not already present

bt_graph_connect() creates a connection and adds the components
on both ends of the connection to the graph. This fix ensures
that the components are not added a second time if multiple
connections involving the same components are established.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/component/graph.c
This page took 0.024883 seconds and 4 git commands to generate.