aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmsc/sms_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmsc/sms_queue.c')
-rw-r--r--src/libmsc/sms_queue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmsc/sms_queue.c b/src/libmsc/sms_queue.c
index 163d4c722..39a81f6ac 100644
--- a/src/libmsc/sms_queue.c
+++ b/src/libmsc/sms_queue.c
@@ -205,8 +205,7 @@ struct gsm_sms *smsq_take_next_sms(struct gsm_network *net,
int sanity = 100;
char started_with_msisdn[last_msisdn_buflen];
- osmo_strlcpy(started_with_msisdn, last_msisdn,
- sizeof(started_with_msisdn));
+ OSMO_STRLCPY_ARRAY(started_with_msisdn, last_msisdn);
while (wrapped < 2 && (--sanity)) {
/* If we wrapped around and passed the first msisdn, we're