osmo-sip-connector[master]: use osmo_init_logging2() to avoid allocating from NULL context
Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/7813 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id704689c9ad35a0db97aedae014e8b36eb1f86e2 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sip-connector Gerrit-Branch: master Gerrit-Owner: Harald Welte Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-HasComments: No
[MERGED] osmo-sip-connector[master]: use osmo_init_logging2() to avoid allocating from NULL context
Harald Welte has submitted this change and it was merged. Change subject: use osmo_init_logging2() to avoid allocating from NULL context .. use osmo_init_logging2() to avoid allocating from NULL context This requires libosmocore I216837780e9405fdaec8059c63d10699c695b360 or later to work. Change-Id: Id704689c9ad35a0db97aedae014e8b36eb1f86e2 --- M src/main.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/src/main.c b/src/main.c index b4ffb63..c267f5f 100644 --- a/src/main.c +++ b/src/main.c @@ -117,7 +117,7 @@ /* initialize osmocom */ tall_mncc_ctx = talloc_named_const(NULL, 0, "MNCC CTX"); osmo_init_ignore_signals(); - osmo_init_logging(&mncc_sip_info); + osmo_init_logging2(tall_mncc_ctx, &mncc_sip_info); osmo_stats_init(tall_mncc_ctx); mncc_sip_vty_init(); -- To view, visit https://gerrit.osmocom.org/7813 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id704689c9ad35a0db97aedae014e8b36eb1f86e2 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sip-connector Gerrit-Branch: master Gerrit-Owner: Harald Welte Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder
[PATCH] osmo-sip-connector[master]: use osmo_init_logging2() to avoid allocating from NULL context
Review at https://gerrit.osmocom.org/7813 use osmo_init_logging2() to avoid allocating from NULL context This requires libosmocore I216837780e9405fdaec8059c63d10699c695b360 or later to work. Change-Id: Id704689c9ad35a0db97aedae014e8b36eb1f86e2 --- M src/main.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector refs/changes/13/7813/1 diff --git a/src/main.c b/src/main.c index b4ffb63..c267f5f 100644 --- a/src/main.c +++ b/src/main.c @@ -117,7 +117,7 @@ /* initialize osmocom */ tall_mncc_ctx = talloc_named_const(NULL, 0, "MNCC CTX"); osmo_init_ignore_signals(); - osmo_init_logging(&mncc_sip_info); + osmo_init_logging2(tall_mncc_ctx, &mncc_sip_info); osmo_stats_init(tall_mncc_ctx); mncc_sip_vty_init(); -- To view, visit https://gerrit.osmocom.org/7813 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id704689c9ad35a0db97aedae014e8b36eb1f86e2 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sip-connector Gerrit-Branch: master Gerrit-Owner: Harald Welte