Change in osmocom-bb[master]: layer23/sap_interface.c: terminate value_string definitions

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/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sat Jan 5 13:14:36 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/12472


Change subject: layer23/sap_interface.c: terminate value_string definitions
......................................................................

layer23/sap_interface.c: terminate value_string definitions

Change-Id: I0776bc43360dfa2229243fb022cd318242ca6400
---
M src/host/layer23/src/common/sap_interface.c
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/72/12472/1

diff --git a/src/host/layer23/src/common/sap_interface.c b/src/host/layer23/src/common/sap_interface.c
index 6a85bf2..3faa949 100644
--- a/src/host/layer23/src/common/sap_interface.c
+++ b/src/host/layer23/src/common/sap_interface.c
@@ -60,6 +60,7 @@
 	{ SAP_CARD_READER_STATUS,	"CardReaderStatus" },
 	{ SAP_STATUS_CHANGE,		"StatusChange" },
 	{ SAP_TRANSPORT_PROTOCOL,	"TransportProtocol" },
+	{ 0, NULL }
 };
 
 /* Table 5.1: Message Overview */
@@ -85,6 +86,7 @@
 	{ SAP_ERROR_RESP,			"ERROR_RESP" },
 	{ SAP_SET_TRANSPORT_PROTOCOL_REQ,	"SET_TRANSPORT_PROTOCOL_REQ" },
 	{ SAP_SET_TRANSPORT_PROTOCOL_RESP,	"SET_TRANSPORT_PROTOCOL_RESP" },
+	{ 0, NULL }
 };
 
 /* Table 5.18: Possible values for ResultCode */
@@ -97,6 +99,7 @@
 	{ 5, "Error, card already powered on" },
 	{ 6, "Error, data not available" },
 	{ 7, "Error, not supported "},
+	{ 0, NULL }
 };
 
 /* Table 5.19: Possible values for StatusChange */
@@ -107,6 +110,7 @@
 	{ 3, "Card removed" },
 	{ 4, "Card inserted" },
 	{ 5, "Card recovered" },
+	{ 0, NULL }
 };
 
 /* Table 5.16: Possible values for ConnectionStatus */
@@ -116,6 +120,7 @@
 	{ 2, "Error, Server does not support maximum message size" },
 	{ 3, "Error, maximum message size by Client is too small" },
 	{ 4, "OK, ongoing call" },
+	{ 0, NULL }
 };
 
 static struct msgb *sap_create_msg(uint8_t id, uint8_t num_params, struct sap_param *params)

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0776bc43360dfa2229243fb022cd318242ca6400
Gerrit-Change-Number: 12472
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190105/016230c4/attachment.htm>


More information about the gerrit-log mailing list