diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-27 14:33:46 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-08-07 16:04:39 +0200 |
commit | 41b6803fd5d69b3a0f126e75d7734425c57644ee (patch) | |
tree | ca7d90cb85cd557ffe36b23ef6567dc2e2e321ee /examples | |
parent | 473048d0d26f2ac06eec5ce6346967eb293492be (diff) |
osmo_ss7_vty_init: ensure a talloc ctx is set by user
Drop the separate osmo_ss7_set_vty_alloc_ctx() because we are likely to forget
calling it. Instead, incorporate into osmo_ss7_vty_init_*() with a new ctx arg,
and set the static context var in vty_init_shared().
Change-Id: Id4e7f47979001f7856b0b3665c9e94982e75e490
Diffstat (limited to 'examples')
-rw-r--r-- | examples/m3ua_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/m3ua_example.c b/examples/m3ua_example.c index d3c6a7c..6c2b146 100644 --- a/examples/m3ua_example.c +++ b/examples/m3ua_example.c @@ -92,7 +92,7 @@ int main(int argc, char **argv) osmo_ss7_init(); osmo_fsm_log_addr(false); vty_init(&vty_info); - osmo_ss7_vty_init_asp(); + osmo_ss7_vty_init_asp(NULL); osmo_sccp_vty_init(); if (argc <= 1) |