commit | e802f1a54fbb8416465f112e3c236c93d4e3e310 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@gnumonks.org> | Fri Aug 11 12:02:12 2017 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Sun Aug 27 17:44:58 2017 +0200 |
tree | 39159aeb277cd11c9316f9db99330e20c2a0bb09 | |
parent | 1f9a576cdc1efb438273b4648db3f5bacad722bd [diff] |
libmsc: use smpp34_tlv_for_each() to avoid suboptimal TLV handling submit_to_sms() now handles two TLVs, so find_tlv() is suboptiomal and it can be removed, since it would result in two passes on the TLV list. Use new smpp34_tlv_for_each() helper to iterate over the list of TLVs that is available since I446929feed049d0411e1629ca263e2bc41f714cc. Change-Id: I53a65164a6cc4abc6bf57d9a8dc275cf21c90222