aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmsc/gsm_04_08.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-10-08 17:12:49 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2018-10-08 17:18:37 +0200
commit782ccec526e93b7e09ae202780b5e11677ba53c1 (patch)
treec0535b00ed47f4761dc74d323d147d18655b3d12 /src/libmsc/gsm_04_08.c
parentd0756b152b64f746a52e6a681946fca744aaed40 (diff)
msc_mgcp: move mncc struct initalization to where its actually needed
The function _handle_error() initalizes a struct gsm_mncc variable on startup. The initalization accesses mgcp_ctx->trans->callref. All this is done before the assertion on mgcp_ctx. Later in the code one finds an if which tests on mgcp_ctx->free_ctx. This is the only part of the code that accesses the mncc struct variable. We should move the initalization there as well. - Move initalization of struct gsm_mncc mncc into the if body that uses it. Change-Id: I86983eabd999c4275dcc0e4a169ef2aa1e33c747 Related: OS#3635
Diffstat (limited to 'src/libmsc/gsm_04_08.c')
0 files changed, 0 insertions, 0 deletions