projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make the "port connected" method return a status
[babeltrace.git]
/
tests
/
plugins
/
test-utils-muxer.c
diff --git
a/tests/plugins/test-utils-muxer.c
b/tests/plugins/test-utils-muxer.c
index 58a4331f3fa743de4a942b16a74542626928f043..ea5b46445a160aae4639f1aef6c606fa7ceefb81 100644
(file)
--- a/
tests/plugins/test-utils-muxer.c
+++ b/
tests/plugins/test-utils-muxer.c
@@
-898,7
+898,8
@@
end:
}
static
}
static
-void sink_port_connected(struct bt_private_component *private_component,
+enum bt_component_status sink_port_connected(
+ struct bt_private_component *private_component,
struct bt_private_port *self_private_port,
struct bt_port *other_port)
{
struct bt_private_port *self_private_port,
struct bt_port *other_port)
{
@@
-914,6
+915,7
@@
void sink_port_connected(struct bt_private_component *private_component,
priv_conn, &user_data->notif_iter);
BT_ASSERT(conn_status == 0);
bt_put(priv_conn);
priv_conn, &user_data->notif_iter);
BT_ASSERT(conn_status == 0);
bt_put(priv_conn);
+ return BT_COMPONENT_STATUS_OK;
}
static
}
static
This page took
0.024061 seconds
and
4
git commands to generate.