commit | e6ad4c896d5c4c050aa7816fdd187068715b2c58 | [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:40:55 2017 +0200 |
tree | f17fb707c4e7a9d8f43290930e4fc49ad1df1dc3 | |
parent | 78a0429a59f665276d953f7d6f0d6007237f1d6e [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