diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-29 13:54:27 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-06-09 08:49:36 +0000 |
commit | 4a824ca8fcf13427d1560b2c866da2a2d82e3692 (patch) | |
tree | 9b85a739ddca384e56959a9bdfe0586d8e987148 /openbsc/src/libbsc/bsc_vty.c | |
parent | aef68387ae6d78df948a6b2b3a61050c4f192c5e (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/src/libbsc/bsc_vty.c')
-rw-r--r-- | openbsc/src/libbsc/bsc_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c index 0ee23907f..b05d3d9da 100644 --- a/openbsc/src/libbsc/bsc_vty.c +++ b/openbsc/src/libbsc/bsc_vty.c @@ -2946,7 +2946,7 @@ DEFUN(cfg_bts_pcu_sock, cfg_bts_pcu_sock_cmd, struct gsm_bts *bts = vty->index; int rc; - bsc_replace_string(bts, &bts->pcu_sock_path, argv[0]); + osmo_talloc_replace_string(bts, &bts->pcu_sock_path, argv[0]); pcu_sock_exit(bts); rc = pcu_sock_init(bts->pcu_sock_path, bts); if (rc < 0) { |