diff options
Diffstat (limited to 'TAO/tao/Strategies/SCIOP_Endpoint.cpp')
-rw-r--r-- | TAO/tao/Strategies/SCIOP_Endpoint.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/Strategies/SCIOP_Endpoint.cpp b/TAO/tao/Strategies/SCIOP_Endpoint.cpp index c2c0d330ff7..213d7e52f01 100644 --- a/TAO/tao/Strategies/SCIOP_Endpoint.cpp +++ b/TAO/tao/Strategies/SCIOP_Endpoint.cpp @@ -13,6 +13,7 @@ #include "ace/Synch.h" #include "ace/OS_NS_stdio.h" #include "tao/ORB_Core.h" +#include <cstring> #if !defined (__ACE_INLINE__) # include "tao/Strategies/SCIOP_Endpoint.inl" @@ -131,7 +132,7 @@ TAO_SCIOP_Endpoint::addr_to_string (char *buffer, size_t length) size_t actual_len = ACE_OS::strlen (this->host_.in ()) // chars in host name + sizeof (':') // delimiter - + ACE_OS::strlen ("65536") // max port + + std::strlen ("65536") // max port + sizeof ('\0'); if (length < actual_len) |