libosmocore.git branch master updated. 0.10.2-197-g4d68fd09

gitosis at gitosis at
Mon Mar 5 10:51:59 UTC 2018

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  4d68fd0955010625cbaa7d19cb9f69b9f44900ab (commit)
       via  20f7d0ecb4d04bd20b132fadad50b3f914ed9fe0 (commit)
      from  680acae725b2b8dda2f239ff20073306fdfb3f6e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 4d68fd0955010625cbaa7d19cb9f69b9f44900ab
Author: Neels Hofmeyr <neels at>
Date:   Mon Mar 5 04:16:48 2018 +0100

    gsm23003: add osmo_mcc_from_str()
    I found myself often using osmo_mnc_from_str() to also decode an MCC and be
    strict about it, but each time I felt the need to comment like "using
    osmo_mnc_from_str() also for MCC". Rather formalize this properly.
    Use a static inline function, no need to add more symbols to libosmo-gsm.
    Change-Id: I020a4f11791c61742a3d795f782805f7b7e8733e

commit 20f7d0ecb4d04bd20b132fadad50b3f914ed9fe0
Author: Neels Hofmeyr <neels at>
Date:   Mon Mar 5 04:19:21 2018 +0100

    fix osmo_mnc_from_str(): don't try to parse NULL
    In osmo_mnc_from_str() do not try to return some values even if the validation
    fails; hence don't try to decode a NULL pointer. That whole idea was half-baked
    and a can of worms to begin with.
    Change-Id: Ibaaa128ac60b941a015a31134eb52aef56bc6e22


Summary of changes:
 include/osmocom/gsm/gsm23003.h  | 11 +++++++++++
 src/gsm/gsm23003.c              | 14 ++++++--------
 tests/gsm23003/gsm23003_test.c  | 16 ++++++++--------
 tests/gsm23003/gsm23003_test.ok | 14 +++++++-------
 4 files changed, 32 insertions(+), 23 deletions(-)

An utility library for Open Source Mobile Communications

More information about the osmocom-commitlog mailing list