From 4d3a66b3f8d39ecf1eefbe44d2bea28698ed8dd5 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 31 Mar 2018 18:45:59 +0200 Subject: cosmetic: rename gsm_subscriber_connection->conn_fsm to ->fi Match osmo-bsc's naming of the subscriber connection's FSM instance; 'conn->fi' makes more sense anyway than 'conn->conn_fsm'. BTW, an upcoming commit will do away with the legacy from libbsc/libmsc duality and firmly glue the conn allocation to the fi. Related: OS#3122 Change-Id: If442f2ba78d9722b1065ec30c9a13f372b6a8caa --- src/libmsc/transaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libmsc/transaction.c') diff --git a/src/libmsc/transaction.c b/src/libmsc/transaction.c index 4a3b064db..5b033dc80 100644 --- a/src/libmsc/transaction.c +++ b/src/libmsc/transaction.c @@ -158,8 +158,8 @@ void trans_free(struct gsm_trans *trans) trans->conn = NULL; talloc_free(trans); - /* trans_free() should always happen while the conn_fsm is still around. */ - OSMO_ASSERT(conn->conn_fsm); + /* trans_free() should always happen while the fi is still around. */ + OSMO_ASSERT(conn->fi); /* Possibly this was the last transaction used by this conn. */ subscr_conn_release_when_unused(conn); -- cgit v1.2.3