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
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;
}