commit | 39faf3b0d0ddf87353456270bf9ed302edbf295a | [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 03:52:46 2017 +0200 |
tree | 0a34b1a168aa8c66f9589ec43ed07058e51591c0 | |
parent | 570ef435b4d9d18871d841b121eda4b62ba89496 [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