FreeCalypso > hg > sms-coding-utils
comparison gen-pdu/message.c @ 10:17dd30989c0b
sms-gen-tpdu: fix bug in GSM7 data source
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 05 Aug 2023 07:47:22 +0000 |
parents | 003660a57f99 |
children | 0fe95ca922c7 |
comparison
equal
deleted
inserted
replaced
9:003660a57f99 | 10:17dd30989c0b |
---|---|
122 bzero(ud7, 160); | 122 bzero(ud7, 160); |
123 bcopy(input + udhl1, ud7 + udh_chars, plain_chars); | 123 bcopy(input + udhl1, ud7 + udh_chars, plain_chars); |
124 gsm7_pack(ud7, octbuf, udl_octets); | 124 gsm7_pack(ud7, octbuf, udl_octets); |
125 if (udhi) | 125 if (udhi) |
126 bcopy(input, octbuf, udhl1); | 126 bcopy(input, octbuf, udhl1); |
127 make_pdu(udl, ud7, udl_octets, udhi); | 127 make_pdu(udl, octbuf, udl_octets, udhi); |
128 } | 128 } |
129 | 129 |
130 void | 130 void |
131 cmd_msg_plain(argc, argv) | 131 cmd_msg_plain(argc, argv) |
132 char **argv; | 132 char **argv; |