Fix: bt_graph_consume(): return status
[babeltrace.git] / lib / graph / graph.c
index d8181f0babb74f95c82b51ad991c20a4c2d67a35..4a3c39e73c05d2968c37c79c5359d033ca217149 100644 (file)
@@ -628,7 +628,7 @@ enum bt_graph_status bt_graph_consume(struct bt_graph *graph)
        graph->can_consume = BT_FALSE;
        status = bt_graph_consume_no_check(graph);
        graph->can_consume = BT_TRUE;
-       return BT_GRAPH_STATUS_OK;
+       return status;
 }
 
 enum bt_graph_status bt_graph_run(struct bt_graph *graph)
This page took 0.026225 seconds and 4 git commands to generate.