You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by ab...@apache.org on 2014/08/25 20:50:58 UTC

svn commit: r1620411 - /celix/trunk/remote_services/topology_manager/private/src/activator.c

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