Change in osmo-iuh[master]: ranap_msg_factory: Fix LOGP statements

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

laforge gerrit-no-reply at lists.osmocom.org
Thu Feb 11 09:15:44 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/22837 )


Change subject: ranap_msg_factory: Fix LOGP statements
......................................................................

ranap_msg_factory: Fix LOGP statements

The related compiler warnings were overlooked as due to the
asn1c-generated code there always are tons of warnings printed compiling
this project :(

Change-Id: I40b1265ba696501cc72e674f3ef4146c47aacf1b
---
M src/ranap_msg_factory.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/37/22837/1

diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c
index 121514c..f93a2ab 100644
--- a/src/ranap_msg_factory.c
+++ b/src/ranap_msg_factory.c
@@ -232,7 +232,7 @@
 			ialg = RANAP_IntegrityProtectionAlgorithm_standard_UMTS_integrity_algorithm_UIA2;
 			break;
 		default:
-			LOGP(DRANAP, "Unsupported UIA algorithm UIA%d specified\n", i);
+			LOGP(DRANAP, LOGL_ERROR, "Unsupported UIA algorithm UIA%d specified\n", i);
 			return NULL;
 		}
 
@@ -259,7 +259,7 @@
 				ealg = RANAP_EncryptionAlgorithm_standard_UMTS_encryption_algorithm_UEA2;
 				break;
 			default:
-				LOGP(DRANAP, "Unsupported UEA algorithm UEA%d specified\n", i);
+				LOGP(DRANAP, LOGL_ERROR, "Unsupported UEA algorithm UEA%d specified\n", i);
 				asn_set_empty(&ies.integrityProtectionInformation.permittedAlgorithms);
 				return NULL;
 			}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/22837
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I40b1265ba696501cc72e674f3ef4146c47aacf1b
Gerrit-Change-Number: 22837
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210211/a3ac1274/attachment.htm>


More information about the gerrit-log mailing list