X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fconnection.c;fp=lib%2Fgraph%2Fconnection.c;h=91d130edcf6c9147bcfac3f36ae69bde57bcc8b9;hb=5c5632787fc9cafa602c89a28966bcfd01ec0204;hp=73b5383dee347e0fe7a8ae1aa436032d9ce6e1e0;hpb=312c056ae3d374b253fa0cfe5ed576c0b0e5e569;p=babeltrace.git diff --git a/lib/graph/connection.c b/lib/graph/connection.c index 73b5383d..91d130ed 100644 --- a/lib/graph/connection.c +++ b/lib/graph/connection.c @@ -117,10 +117,10 @@ void bt_connection_parent_is_owner(struct bt_object *obj) bt_connection_try_remove_from_graph(connection); } -struct bt_connection *bt_connection_from_private( +struct bt_connection *bt_connection_borrow_from_private( struct bt_private_connection *private_connection) { - return bt_get(bt_connection_borrow_from_private(private_connection)); + return (void *) private_connection; } BT_HIDDEN