X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fconnection.c;h=a50828fbdc415be82d11e798ba6c5be9c5b597b5;hb=bdb288b3e94e412a33c8647d44f6cfac66ca0665;hp=41fbcc6984cb877009bc2d710af1d91b2329fc60;hpb=185ecf645233ced089ad72b060a420e8f6f7edeb;p=babeltrace.git diff --git a/src/lib/graph/connection.c b/src/lib/graph/connection.c index 41fbcc69..a50828fb 100644 --- a/src/lib/graph/connection.c +++ b/src/lib/graph/connection.c @@ -232,14 +232,14 @@ void bt_connection_end(struct bt_connection *conn, bool try_remove_from_graph) const struct bt_port_output *bt_connection_borrow_upstream_port_const( const struct bt_connection *connection) { - BT_ASSERT_PRE_NON_NULL(connection, "Connection"); + BT_ASSERT_PRE_DEV_NON_NULL(connection, "Connection"); return (void *) connection->upstream_port; } const struct bt_port_input *bt_connection_borrow_downstream_port_const( const struct bt_connection *connection) { - BT_ASSERT_PRE_NON_NULL(connection, "Connection"); + BT_ASSERT_PRE_DEV_NON_NULL(connection, "Connection"); return (void *) connection->downstream_port; }