diff options
author | Nico Golde <nico@ngolde.de> | 2010-07-20 15:43:58 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-21 02:43:58 +0800 |
commit | c0ce9aa20d6ad6095c9a11d00bbd14d200a7ee4e (patch) | |
tree | 28c08d07d2690957acc604255a56e1dc1ddd65a5 /m4 | |
parent | 446bf376984c0ab0453ec79577b590225e36d991 (diff) |
tests: don't hardcode length values of expected encoding gsm_7bit_encode:
make sure to return the number of actually written bytes gsm_7bit_decode:
calculate length of resulting septets from input length before decoding
The input length to gsm_7bit_decode reflects the number of encoded bytes
to be decoded. As the decoding is done on the input in septetes we need
to take this into account and recalculate the length.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions