Change in osmo-ttcn3-hacks[master]: BSSMAP_Emulation: Check for ==/!= null instead of isvalue()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Daniel Willmann gerrit-no-reply at lists.osmocom.org
Mon Apr 15 15:28:34 UTC 2019


Daniel Willmann has uploaded this change for review. ( https://gerrit.osmocom.org/13648


Change subject: BSSMAP_Emulation: Check for ==/!= null instead of isvalue()
......................................................................

BSSMAP_Emulation: Check for ==/!= null instead of isvalue()

Related: OS#3932
Change-Id: I2434c776c6a4ee83e97bc04e7cbbaf1b546731c0
---
M library/BSSMAP_Emulation.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/48/13648/1

diff --git a/library/BSSMAP_Emulation.ttcn b/library/BSSMAP_Emulation.ttcn
index 55ce2fb..3816ed7 100644
--- a/library/BSSMAP_Emulation.ttcn
+++ b/library/BSSMAP_Emulation.ttcn
@@ -406,7 +406,7 @@
 		var BSSAP_ConnHdlr client := null;
 		client := f_imsi_table_find(bssap.pdu.bssmap.paging.iMSI.digits,
 					   bssap.pdu.bssmap.paging.tMSI.tmsiOctets);
-		if (isvalue(client)) {
+		if (client != null) {
 			log("CommonBssmapUnitdataCallback: IMSI/TMSI found in table, dispatching to ",
 				client);
 			CLIENT.send(bssap) to client;

-- 
To view, visit https://gerrit.osmocom.org/13648
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2434c776c6a4ee83e97bc04e7cbbaf1b546731c0
Gerrit-Change-Number: 13648
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Willmann <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190415/213c8362/attachment.htm>


More information about the gerrit-log mailing list