Set private port's user data on creation
[babeltrace.git] / plugins / utils / muxer / muxer.c
index 5db1e426a7205c8361699d340578174d4c18fba7..475dbf61866c331e97525fbb889a9c9dd605220b 100644 (file)
@@ -173,7 +173,7 @@ int ensure_available_input_port(struct bt_private_component *priv_comp)
 
        g_string_append_printf(port_name, "%u", muxer_comp->next_port_num);
        priv_port = bt_private_component_filter_add_input_private_port(
-               priv_comp, port_name->str);
+               priv_comp, port_name->str, NULL);
        if (!priv_port) {
                ret = -1;
                goto end;
@@ -228,7 +228,7 @@ int create_output_port(struct bt_private_component *priv_comp)
        int ret = 0;
 
        priv_port = bt_private_component_filter_add_output_private_port(
-               priv_comp, "out");
+               priv_comp, "out", NULL);
        if (!priv_port) {
                ret = -1;
        }
This page took 0.023796 seconds and 4 git commands to generate.