aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-15 13:53:48 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-08-15 13:53:50 +0200
commit816a67d59dfebcb814e6390e52c9ec0f3e0678c0 (patch)
tree0268351b1ff68f6abe2c61753d990c3c5fb90196 /tests
parentc503f0acd9668a50529f473492ce4c42de8b882a (diff)
Drop gprs_msgb_copy with libosmocore replacement
gprs_msgb_copy was introduced in libosmocore 0.94 (f78ec5ce0d0f6038147d9b9e14d81094309ba5d5) as bssgp_msgb_copy. Let's use that one to avoid code duplication. Change-Id: I42a65fd8e4045fafadf5694f2d8d0c5e7ab350a0
Diffstat (limited to 'tests')
-rw-r--r--tests/gbproxy/gbproxy_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gbproxy/gbproxy_test.c b/tests/gbproxy/gbproxy_test.c
index 157da8b37..a18332085 100644
--- a/tests/gbproxy/gbproxy_test.c
+++ b/tests/gbproxy/gbproxy_test.c
@@ -1061,7 +1061,7 @@ int gprs_ns_sendmsg(struct gprs_ns_inst *nsi, struct msgb *msg)
if (received_messages) {
struct msgb *msg_copy;
- msg_copy = gprs_msgb_copy(msg, "received_messages");
+ msg_copy = bssgp_msgb_copy(msg, "received_messages");
llist_add_tail(&msg_copy->list, received_messages);
}