aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-29 13:54:27 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-09 08:49:36 +0000
commit4a824ca8fcf13427d1560b2c866da2a2d82e3692 (patch)
tree9b85a739ddca384e56959a9bdfe0586d8e987148 /openbsc/tests
parentaef68387ae6d78df948a6b2b3a61050c4f192c5e (diff)
don't re-implement osmo_talloc_replace_string()
osmo_talloc_replace_string() was introducd into libosmocore in 2014, see commit f3c7e85d05f7b2b7bf093162b776f71b2bc6420d There's no reason for us to re-implement this as bsc_replace_string here. Change-Id: I6d2fcaabbc74730f6f491a2b2d5c784ccafc6602
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/mgcp/mgcp_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/mgcp/mgcp_test.c b/openbsc/tests/mgcp/mgcp_test.c
index b2d237ef5..43a453af8 100644
--- a/openbsc/tests/mgcp/mgcp_test.c
+++ b/openbsc/tests/mgcp/mgcp_test.c
@@ -532,7 +532,7 @@ static void test_messages(void)
last_endpoint = -1;
dummy_packets = 0;
- bsc_replace_string(cfg, &cfg->trunk.audio_fmtp_extra, t->extra_fmtp);
+ osmo_talloc_replace_string(cfg, &cfg->trunk.audio_fmtp_extra, t->extra_fmtp);
inp = create_msg(t->req);
msg = mgcp_handle_message(cfg, inp);