Neels Hofmeyr 9b8e7b4e39 hlr_subscr_nam(): fix condition to fix nam=false notifications
Firstly, vlr_number[] is an array and we need to check the first char for nul
instead of the pointer.

Also, osmo_ipa_name_set_str() returns zero on success, so the condition is
reversed.

hlr_subscr_nam() was rewritten in I3a8dff3d4a1cbe10d6ab08257a0138d6b2a082d9
ad868e29ba and this likely fixes a bug introduced
there.

Related: coverity CID#210169
Change-Id: I3a0e9ed4b865c88aa4a6341a3bf1a96c10d20ed9
2020-05-04 19:24:26 +02:00
2016-12-21 10:35:38 +01:00
2020-01-13 14:08:27 +01:00
Description
Osmocom HLR for GSUP protocol towards OsmoSGSN and OsmoMSC
7.8 MiB
Languages
C 92.8%
Makefile 2.1%
Python 1.9%
Shell 1.6%
M4 1.1%
Other 0.4%