Fix encoding phone number on sending sms
authorSławomir Demeszko <s.demeszko@wireless-instruments.com>
Thu, 18 Dec 2014 15:12:15 +0000 (16:12 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 22 Dec 2014 20:44:14 +0000 (21:44 +0100)
commit320675a242ace4bc8a4aa33fe0d5ae360119e476
tree8080ee6f7cfae29b69c7ad44d22b8b0b737b78ea
parentdc1dfedccc6cfa0205feecdbb5eb2c51d9aa3a4d
Fix encoding phone number on sending sms

Return proper length of encoded phone number with odd count of digits,
without this patch number is encoded in memory but length returned
by function is not incremented and sms cannot be send.

Signed-off-by: SÅ‚awomir Demeszko <s.demeszko@wireless-instruments.com>
commands-wms.c