Fix: bt_graph_consume(): return status
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 5 Jun 2018 21:56:33 +0000 (17:56 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:05:45 +0000 (00:05 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
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.025028 seconds and 4 git commands to generate.