diff options
author | Zhigang Li <zhigang.li@intel.com> | 2009-11-24 14:48:44 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-11-24 14:49:48 -0600 |
commit | 3aec8d4ac79be8b3785ef2ba068f652ad0631825 (patch) | |
tree | eba0b320eedd29dca4a1d0bb3bae0549fa117336 /src | |
parent | 0333ad8580125e946b7c7b789e639f98d2cd2a0f (diff) | |
download | ofono-3aec8d4ac79be8b3785ef2ba068f652ad0631825.tar.bz2 |
Fix: Send all SMS segments
Diffstat (limited to 'src')
-rw-r--r-- | src/sms.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -388,7 +388,7 @@ static struct tx_queue_entry *create_tx_queue_entry(GSList *msg_list) entry->pdus = g_new0(struct pending_pdu, entry->num_pdus); for (l = msg_list; l; l = l->next) { - struct pending_pdu *pdu = &entry->pdus[i]; + struct pending_pdu *pdu = &entry->pdus[i++]; struct sms *s = l->data; sms_encode(s, &pdu->pdu_len, &pdu->tpdu_len, pdu->pdu); |