Fix: src/lib/graph/graph.h: do not override `comp_status` value
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 5 Aug 2019 21:57:27 +0000 (17:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:05:21 +0000 (14:05 -0400)
commitbbaccdaea6eb3f4f74a4ae023755293c959dff8a
tree6226bb0ed96900afca1a944b70a40a8b19eac1ca
parent5efafa1acd5d42b0f555f77223fc809dbc53f4b3
Fix: src/lib/graph/graph.h: do not override `comp_status` value

This made, for example, bt_graph_run() return
`BT_GRAPH_RUN_STATUS_ERROR` when the sink component's "graph is
configured" method returned
`BT_COMPONENT_CLASS_SINK_GRAPH_IS_CONFIGURED_METHOD_STATUS_MEMORY_ERROR`,
therefore not percolating the correct status.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ic89d9315f8bc1c3226a14955c9e6419462d5e588
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1829
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
src/lib/graph/graph.h
This page took 0.02482 seconds and 4 git commands to generate.