summaryrefslogtreecommitdiffstats
path: root/src/gsm48_ie.c
diff options
context:
space:
mode:
authorNico Golde <nico@ngolde.de>2010-07-20 15:43:58 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-21 02:43:58 +0800
commitc0ce9aa20d6ad6095c9a11d00bbd14d200a7ee4e (patch)
tree28c08d07d2690957acc604255a56e1dc1ddd65a5 /src/gsm48_ie.c
parent446bf376984c0ab0453ec79577b590225e36d991 (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 'src/gsm48_ie.c')
0 files changed, 0 insertions, 0 deletions