summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/PortableServer_WFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/PortableServer_WFunctions.cpp')
-rw-r--r--TAO/tao/PortableServer/PortableServer_WFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/PortableServer/PortableServer_WFunctions.cpp b/TAO/tao/PortableServer/PortableServer_WFunctions.cpp
index d980f303b74..db6f88df047 100644
--- a/TAO/tao/PortableServer/PortableServer_WFunctions.cpp
+++ b/TAO/tao/PortableServer/PortableServer_WFunctions.cpp
@@ -18,7 +18,7 @@ namespace PortableServer
// We DO NOT include the zero terminator, as this is simply an
// artifact of the way strings are stored in C.
//
- u_int string_length = ACE_OS::wslen (string);
+ u_int string_length = ACE_OS::strlen (string);
CORBA::ULong buffer_size = string_length * sizeof (CORBA::WChar);