diff options
author | Keith Whyte <keith@rhizomatica.org> | 2022-10-23 01:33:33 +0100 |
---|---|---|
committer | Keith Whyte <keith@rhizomatica.org> | 2022-10-23 01:46:55 +0100 |
commit | 9a1659e129f872842683d5fed1e7e3beda57b588 (patch) | |
tree | ffe4cd2ada725450e4357c819ef9dad8cae1503b | |
parent | dbed6898fc5faebc7d4c66a6ba1b5a6347f2d204 (diff) |
Increase sanity in smsq_take_next_sms()
Change-Id: I085d75472cf63709391b12f2fcf15ba9f67f64d0
-rw-r--r-- | src/libmsc/sms_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmsc/sms_queue.c b/src/libmsc/sms_queue.c index 978b01f77..98a8815d2 100644 --- a/src/libmsc/sms_queue.c +++ b/src/libmsc/sms_queue.c @@ -276,7 +276,7 @@ struct gsm_sms *smsq_take_next_sms(struct gsm_network *net, { struct gsm_sms *sms; int wrapped = 0; - int sanity = 100; + int sanity = 350; char started_with_msisdn[last_msisdn_buflen]; OSMO_STRLCPY_ARRAY(started_with_msisdn, last_msisdn); @@ -311,7 +311,7 @@ struct gsm_sms *smsq_take_next_sms(struct gsm_network *net, return sms; } - DEBUGP(DLSMS, "SMS queue: no SMS to be sent, tried %d times.\n", sanity+100); + DEBUGP(DLSMS, "SMS queue: no SMS to be sent, tried %d times.\n", sanity+350); return NULL; } |