X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fconnection.c;h=eb84c11b60b88baaa72659b44c0954941811f33b;hb=d5b13b9b6a434797f856547be1ca6a59f70ba530;hp=c470994ee4c963fc57b136065355fecfd42a2b8e;hpb=0a83319b57c7f5d1f37a8c1af9a39daf6d503122;p=babeltrace.git diff --git a/src/lib/graph/connection.c b/src/lib/graph/connection.c index c470994e..eb84c11b 100644 --- a/src/lib/graph/connection.c +++ b/src/lib/graph/connection.c @@ -215,14 +215,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_DEV_NON_NULL(connection, "Connection"); + BT_ASSERT_PRE_DEV_CONN_NON_NULL(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_DEV_NON_NULL(connection, "Connection"); + BT_ASSERT_PRE_DEV_CONN_NON_NULL(connection); return (void *) connection->downstream_port; }