diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-07 01:54:19 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-07 01:54:19 +0800 |
commit | 43d9eec14b9ec59f19a95b864ace7fb798724e2e (patch) | |
tree | eb79cbe2c38cab890556cab9f74d8677491d47e0 /src/main.c | |
parent | d5918ff9e40b4443d4490ba18d785f5e55591a2c (diff) |
msc: Make close_msc public, call it from main..
We would have not stopped the timer, fix that by only
having one function to close the connection to the msc.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -748,10 +748,7 @@ out: static void sigusr2() { printf("Closing the MSC connection on demand.\n"); - close(bsc.msc_connection.bfd.fd); - bsc_unregister_fd(&bsc.msc_connection.bfd); - bsc.msc_connection.bfd.fd = -1; - release_bsc_resources(&bsc); + msc_close_connection(&bsc); } static void print_help() |