summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB_Core.cpp')
-rw-r--r--TAO/tao/ORB_Core.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index d9375e76fa0..e8efe0ffcf3 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -451,9 +451,10 @@ TAO_ORB_Core::init (int &argc, char *argv[] ACE_ENV_ARG_DECL)
// explicit (and the whole objref is readable by mortals).
// BEGIN COMMENTS FROM IIOP-1.4
const ACE_TCHAR *opt = current_arg;
- if (ACE_OS::strcasecmp (opt,
- ACE_TEXT("URL")) == 0)
+ if (ACE_OS::strcasecmp (opt, ACE_TEXT("URL")) == 0)
use_ior = false;
+ else if (ACE_OS::strcasecmp (opt, ACE_TEXT("IOR")) == 0)
+ use_ior = true;
arg_shifter.consume_arg ();
}