summaryrefslogtreecommitdiff
path: root/TAO/tests/ForwardUponObjectNotExist/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/ForwardUponObjectNotExist/client.cpp')
-rwxr-xr-xTAO/tests/ForwardUponObjectNotExist/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tests/ForwardUponObjectNotExist/client.cpp b/TAO/tests/ForwardUponObjectNotExist/client.cpp
index 4243ec5ee13..cea8a74686a 100755
--- a/TAO/tests/ForwardUponObjectNotExist/client.cpp
+++ b/TAO/tests/ForwardUponObjectNotExist/client.cpp
@@ -46,7 +46,7 @@ parse_args (int argc, ACE_TCHAR *argv[])
if (ACE_OS::strncmp (ior,
corbaloc_prefix,
- ACE_OS::strlen (corbaloc_prefix)) != 0)
+ sizeof corbaloc_prefix -1) != 0)
return 1;
// Indicates sucessful parsing of the command line