diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-10-08 17:12:49 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-10-08 17:18:37 +0200 |
commit | 782ccec526e93b7e09ae202780b5e11677ba53c1 (patch) | |
tree | c0535b00ed47f4761dc74d323d147d18655b3d12 /configure.ac | |
parent | d0756b152b64f746a52e6a681946fca744aaed40 (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 'configure.ac')
0 files changed, 0 insertions, 0 deletions