Hi, * Nico Golde openbsc@ngolde.de [2010-07-20 14:10]:
- Holger Hans Peter Freyther holger@freyther.de [2010-07-20 13:03]:
[...]
On 07/20/2010 05:05 AM, Nico Golde wrote: I think gsm_7bit_encode should return the length of bytes it has written to, not more. :)
Yes and I think this is part of the problem. Currently the function returns i instead of z while z is the counter for the bytes actually written and i the number of encoded septets. I will probably look into this at the weekend.
Ok had some time now. Please check the attached patch.
Cheers Nico