diff options
-rw-r--r-- | TAO/ChangeLog | 7 | ||||
-rw-r--r-- | TAO/tao/CORBALOC_Parser.cpp | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 426ec0c4c59..3e9da2014ad 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,10 @@ +Sun Dec 15 22:26:29 2002 Priyanka Gontla <pgontla@ece.uci.edu> + + * tao/CORBALOC_Parser.cpp: + Fixed a problem with the ior_corbaloc test. A wrong string was + being used for strcmp. Thanks to Bala for finding and reporting + the problem. + Sun Dec 15 20:18:53 2002 Priyanka Gontla <pgontla@ece.uci.edu> * tests/ior_corbaloc/status_i.h: diff --git a/TAO/tao/CORBALOC_Parser.cpp b/TAO/tao/CORBALOC_Parser.cpp index 070b116fb37..d99f03b1fa9 100644 --- a/TAO/tao/CORBALOC_Parser.cpp +++ b/TAO/tao/CORBALOC_Parser.cpp @@ -4,7 +4,7 @@ #include "MProfile.h" #include "Connector_Registry.h" #include "tao/debug.h" - + #if !defined(__ACE_INLINE__) #include "CORBALOC_Parser.i" #endif /* __ACE_INLINE__ */ @@ -167,7 +167,7 @@ TAO_CORBALOC_Parser::assign_key_string (char *& cloc_name_ptr, // Check for an IIOP corbaloc IOR. If the port number is not // specified, append the default corbaloc port number (i.e. "2809") - if (ACE_OS::strncmp (cloc_name_ptr, + if (ACE_OS::strncmp (end_point.in (), iiop_prefix, sizeof (iiop_prefix) - 1) == 0 && addr.find (':') == ACE_CString::npos) |