pnoltes commented on code in PR #537:
URL: https://github.com/apache/celix/pull/537#discussion_r1186040523


##########
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/src/rsa_shm_import_registration.c:
##########
@@ -71,14 +76,17 @@ celix_status_t 
importRegistration_create(celix_bundle_context_t *context,
     char *token, *savePtr;
     token = strtok_r(icCopy, delimiter, &savePtr);
     while (token != NULL) {
-        if (strncmp(utils_stringTrim(token), RSA_RPC_TYPE_PREFIX, 
sizeof(RSA_RPC_TYPE_PREFIX) - 1) == 0) {
-            rsaRpcType = token;
+        rsaRpcType = celix_utils_trim(token);

Review Comment:
   I agree.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to