Change in osmo-bts[master]: oc2gbts_mgr: use msgb_talloc_ctx_init() instead of msgb_set_talloc_ctx()

dexter gerrit-no-reply at lists.osmocom.org
Fri Mar 15 14:46:50 UTC 2019


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/13274


Change subject: oc2gbts_mgr: use msgb_talloc_ctx_init() instead of msgb_set_talloc_ctx()
......................................................................

oc2gbts_mgr: use msgb_talloc_ctx_init() instead of msgb_set_talloc_ctx()

The function msgb_set_talloc_ctx() is deprecated. Lets use
msgb_talloc_ctx_init() as suggested.

Change-Id: I61f80a7b11e9117e8b71c49b7d81d2f959f3150d
---
M src/osmo-bts-oc2g/misc/oc2gbts_mgr.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/74/13274/1

diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_mgr.c b/src/osmo-bts-oc2g/misc/oc2gbts_mgr.c
index f8768e4..46831f6 100644
--- a/src/osmo-bts-oc2g/misc/oc2gbts_mgr.c
+++ b/src/osmo-bts-oc2g/misc/oc2gbts_mgr.c
@@ -274,7 +274,7 @@
 
 	tall_mgr_ctx = talloc_named_const(NULL, 1, "bts manager");
 	tall_msgb_ctx = talloc_named_const(tall_mgr_ctx, 1, "msgb");
-	msgb_set_talloc_ctx(tall_msgb_ctx);
+	msgb_talloc_ctx_init(tall_msgb_ctx, 0);
 
 	mgr_log_init();
 

-- 
To view, visit https://gerrit.osmocom.org/13274
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I61f80a7b11e9117e8b71c49b7d81d2f959f3150d
Gerrit-Change-Number: 13274
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190315/edd58200/attachment.html>


More information about the gerrit-log mailing list