celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject svn commit: r1628407 - /celix/trunk/remote_services/remote_service_admin_http/private/src/remote_service_admin_impl.c
Date Tue, 30 Sep 2014 11:59:58 GMT
Author: bpetri
Date: Tue Sep 30 11:59:58 2014
New Revision: 1628407

URL: http://svn.apache.org/r1628407
Log:
CELIX-157: fix installEndpoints

Modified:
    celix/trunk/remote_services/remote_service_admin_http/private/src/remote_service_admin_impl.c

Modified: celix/trunk/remote_services/remote_service_admin_http/private/src/remote_service_admin_impl.c
URL: http://svn.apache.org/viewvc/celix/trunk/remote_services/remote_service_admin_http/private/src/remote_service_admin_impl.c?rev=1628407&r1=1628406&r2=1628407&view=diff
==============================================================================
--- celix/trunk/remote_services/remote_service_admin_http/private/src/remote_service_admin_impl.c
(original)
+++ celix/trunk/remote_services/remote_service_admin_http/private/src/remote_service_admin_impl.c
Tue Sep 30 11:59:58 2014
@@ -328,7 +328,8 @@ celix_status_t remoteServiceAdmin_instal
         char *key = keys[i];
         char *value = NULL;
 
-		properties_set(endpointProperties, key, value);
+        if (serviceReference_getProperty(reference, key, &value) == CELIX_SUCCESS)
+        	properties_set(endpointProperties, key, value);
 	}
 
 	char *serviceId = (char *) hashMap_remove(endpointProperties, (void *) OSGI_FRAMEWORK_SERVICE_ID);



Mime
View raw message