summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Deployment/Handlers
diff options
context:
space:
mode:
authormhengstmengel <mhengstmengel@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2012-06-21 10:14:41 +0000
committermhengstmengel <mhengstmengel@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2012-06-21 10:14:41 +0000
commitae1eca61f7b2724c0e1d7a4ce443a075d49ab5e4 (patch)
tree6eacdc2bf4cf334f1bfec095946585dc600c28e8 /CIAO/ciao/Deployment/Handlers
parent4aa7db6f72f06a79e182094187dcb66873193ec3 (diff)
downloadATCD-ae1eca61f7b2724c0e1d7a4ce443a075d49ab5e4.tar.gz
Thu Jun 21 10:11:38 UTC 2012 Marijke Hengstmengel <mhengstmengel@remedy.nl>
* ciao/Deployment/Handlers/Component_Handler.cpp: Solved msvc error.
Diffstat (limited to 'CIAO/ciao/Deployment/Handlers')
-rw-r--r--CIAO/ciao/Deployment/Handlers/Component_Handler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/CIAO/ciao/Deployment/Handlers/Component_Handler.cpp b/CIAO/ciao/Deployment/Handlers/Component_Handler.cpp
index 0cea9398fdf..29649f06047 100644
--- a/CIAO/ciao/Deployment/Handlers/Component_Handler.cpp
+++ b/CIAO/ciao/Deployment/Handlers/Component_Handler.cpp
@@ -218,8 +218,7 @@ namespace CIAO
"Found ServiceRef <%C>\n",service_id.in ()));
//now search for port_name belonging to the service id
- int len = ACE_OS::strlen(service_id.in ()) + ACE_OS::strlen(CIAO::Deployment::SERVICE_REF) + 2;
- char port_search[len];
+ char port_search[256];
ACE_OS::sprintf(port_search, "%s.%s",CIAO::Deployment::SERVICE_REF, service_id.in ());
if (pmap->find (port_search, val) == 0)