Accept port connection method: take other port as parameter
[babeltrace.git] / lib / component / graph.c
index 8e21e1a3873cac9bd76a025d0d56a12664da7867..e16a1314260a3a063c71c0998fe1643f896cd0ce 100644 (file)
@@ -256,12 +256,12 @@ struct bt_connection *bt_graph_connect(struct bt_graph *graph,
         * invocation.
         */
        component_status = bt_component_accept_port_connection(
-               upstream_component, upstream_port);
+               upstream_component, upstream_port, downstream_port);
        if (component_status != BT_COMPONENT_STATUS_OK) {
                goto error_rollback;
        }
        component_status = bt_component_accept_port_connection(
-               downstream_component, downstream_port);
+               downstream_component, downstream_port, upstream_port);
        if (component_status != BT_COMPONENT_STATUS_OK) {
                goto error_rollback;
        }
This page took 0.024979 seconds and 4 git commands to generate.