summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/gsm_04_11.c
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2014-03-12 00:59:53 +0400
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2014-03-12 21:24:50 +0400
commit5fd1bd840e69c60849f72bffac6cf8e72c8ec516 (patch)
tree27fe7844eabe11415e9c694dd558dabeaf898500 /openbsc/src/libmsc/gsm_04_11.c
parentfb96f1f8e1344e28afbe9101ced8e65147de25d3 (diff)
sms: Use gsm_7bit_decode_n() in gsm340_rx_tpdu().
gsm_7bit_decode() is deprecated and should not be used.
Diffstat (limited to 'openbsc/src/libmsc/gsm_04_11.c')
-rw-r--r--openbsc/src/libmsc/gsm_04_11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/gsm_04_11.c b/openbsc/src/libmsc/gsm_04_11.c
index 8361d6409..fa8f92d6c 100644
--- a/openbsc/src/libmsc/gsm_04_11.c
+++ b/openbsc/src/libmsc/gsm_04_11.c
@@ -373,7 +373,7 @@ static int gsm340_rx_tpdu(struct gsm_subscriber_connection *conn, struct msgb *m
switch (sms_alphabet) {
case DCS_7BIT_DEFAULT:
- gsm_7bit_decode(gsms->text, smsp, gsms->user_data_len);
+ gsm_7bit_decode_n(gsms->text, sizeof(gsms->text), smsp, gsms->user_data_len);
break;
case DCS_8BIT_DATA:
case DCS_UCS2: