diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-12-05 21:32:40 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-12-10 17:06:30 +0000 |
commit | 627e0113d142c91eaf9a750ab76b722bb776b1ce (patch) | |
tree | 643df37330095ad84bee057a8a951172de9ee577 /src/gsmtap_util.c | |
parent | 7079e698481705c82c7aff58ea9c63469626af80 (diff) |
gsm48_mi_to_string: use osmo_bcd2str(), fix some corner cases
By using osmo_bcd2str(), ensure that the resulting string is always nul
terminated, and always return strlen()+1 whether truncated or not.
Still keep up the previous return value style, even if that isn't consistent at
all.
The difference between IMSI/IMEI and TMSI return values remains and is not part
of this patch.
Change-Id: I1b51b72a721e1cc9d69796b804ebda741ff0f36b
Diffstat (limited to 'src/gsmtap_util.c')
0 files changed, 0 insertions, 0 deletions