From 41b6803fd5d69b3a0f126e75d7734425c57644ee Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 27 Jul 2017 14:33:46 +0200 Subject: 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 --- examples/m3ua_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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) -- cgit v1.2.3