aboutsummaryrefslogtreecommitdiffstats
path: root/src/msc_conn.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-07 02:37:43 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-07 02:39:37 +0800
commit0c95c6ac93dfb3245d9fa40eb7958f2b4a84c0ab (patch)
tree319074df0d39fc087ebb0b1a3631082bbaf885cf /src/msc_conn.c
parent3e054ee556ec1fa10d43117c34711656f12359be (diff)
msc: Rename closing to msc_link_down
This is the indicator if the MSC is connected and authenticated or not. This name should be better than closing.
Diffstat (limited to 'src/msc_conn.c')
-rw-r--r--src/msc_conn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msc_conn.c b/src/msc_conn.c
index c8ecb1d..ac160bb 100644
--- a/src/msc_conn.c
+++ b/src/msc_conn.c
@@ -170,7 +170,7 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd)
LOGP(DMSC, LOGL_NOTICE, "Connected to MSC. Sending reset.\n");
bsc_del_timer(&bsc->msc_timeout);
bsc->first_contact = 0;
- bsc->closing = 0;
+ bsc->msc_link_down = 0;
msc_send_reset(bsc);
}
if (msg->l2h[0] == IPAC_MSGT_ID_GET && bsc->token) {
@@ -507,7 +507,7 @@ int msc_init(struct bsc_data *bsc)
bsc->msc_connection.read_cb = ipaccess_a_fd_cb;
bsc->msc_connection.write_cb = ipaccess_write_cb;
bsc->msc_connection.bfd.data = bsc;
- bsc->closing = 1;
+ bsc->msc_link_down = 1;
/* handle the timeout */
bsc->ping_timeout.cb = msc_ping_timeout;