projects
/
deliverable
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
graph: Fix: bt_graph_configure() does not propagate errors
[deliverable/babeltrace.git]
/
include
/
babeltrace
/
graph
/
graph-internal.h
diff --git
a/include/babeltrace/graph/graph-internal.h
b/include/babeltrace/graph/graph-internal.h
index 83812e7b51e7dda437d4a8aa6cc8710aa1c61347..ec2f65ecff9d2afd55ab548f84b2f539a4991530 100644
(file)
--- a/
include/babeltrace/graph/graph-internal.h
+++ b/
include/babeltrace/graph/graph-internal.h
@@
-261,6
+261,7
@@
enum bt_graph_status bt_graph_configure(struct bt_graph *graph)
#endif
if (comp_status != BT_SELF_COMPONENT_STATUS_OK) {
+ status = BT_GRAPH_STATUS_ERROR;
#ifdef BT_LIB_LOGW
BT_LIB_LOGW("User's \"graph is configured\" method failed: "
"%![comp-]+c, status=%s",
This page took
0.023666 seconds
and
5
git commands to generate.