celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abroekh...@apache.org
Subject svn commit: r1620411 - /celix/trunk/remote_services/topology_manager/private/src/activator.c
Date Mon, 25 Aug 2014 18:50:58 GMT
Author: abroekhuis
Date: Mon Aug 25 18:50:58 2014
New Revision: 1620411

URL: http://svn.apache.org/r1620411
Log:
Fixed an incorrect string length usage.

Modified:
    celix/trunk/remote_services/topology_manager/private/src/activator.c

Modified: celix/trunk/remote_services/topology_manager/private/src/activator.c
URL: http://svn.apache.org/viewvc/celix/trunk/remote_services/topology_manager/private/src/activator.c?rev=1620411&r1=1620410&r2=1620411&view=diff
==============================================================================
--- celix/trunk/remote_services/topology_manager/private/src/activator.c (original)
+++ celix/trunk/remote_services/topology_manager/private/src/activator.c Mon Aug 25 18:50:58
2014
@@ -133,7 +133,7 @@ celix_status_t bundleActivator_start(voi
 		return CELIX_ENOMEM;
 	}
 
-	snprintf(scope, 14, "(&(%s=*)(!(%s=%s)))", OSGI_FRAMEWORK_OBJECTCLASS, OSGI_RSA_ENDPOINT_FRAMEWORK_UUID,
uuid);
+	snprintf(scope, len, "(&(%s=*)(!(%s=%s)))", OSGI_FRAMEWORK_OBJECTCLASS, OSGI_RSA_ENDPOINT_FRAMEWORK_UUID,
uuid);
 
 	printf("TOPOLOGY_MANAGER: endpoint listener scope is %s\n", scope);
 



Mime
View raw message