commit | b01ca46f28d8dfa3c9104e865f6aa0f21a04fda6 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Dec 28 14:25:25 2010 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Jan 06 14:52:52 2011 +0100 |
tree | 48facc6db683ae6af97b1dc3e2e0347fd907c132 | |
parent | 7142b284271ab62c12cf0ac6471a212b0f51d2ce [diff] [blame] |
sms: Add new SMS requests to the end of the list.
diff --git a/openbsc/src/sms_queue.c b/openbsc/src/sms_queue.c index 0c154b2..079755d 100644 --- a/openbsc/src/sms_queue.c +++ b/openbsc/src/sms_queue.c
@@ -276,7 +276,7 @@ attempted += 1; smsq->pending += 1; - llist_add(&pending->entry, &smsq->pending_sms); + llist_add_tail(&pending->entry, &smsq->pending_sms); gsm411_send_sms_subscr(sms->receiver, sms); } while (attempted < attempts && rounds < 1000);