summaryrefslogtreecommitdiff
path: root/ace/Naming_Context.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-04-28 02:23:25 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-04-28 02:23:25 +0000
commitce5b90edf5434b8fc2d4df6d22424db05c32cb3d (patch)
tree444d1ae1c793f3c5f32eac7aebb1834d23987aa9 /ace/Naming_Context.cpp
parent34d7a4e7205f29e6fa33da0d87574f9c7a9d7a92 (diff)
downloadATCD-ce5b90edf5434b8fc2d4df6d22424db05c32cb3d.tar.gz
.
Diffstat (limited to 'ace/Naming_Context.cpp')
-rw-r--r--ace/Naming_Context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Naming_Context.cpp b/ace/Naming_Context.cpp
index d0ff74ee5c5..b165a601ac9 100644
--- a/ace/Naming_Context.cpp
+++ b/ace/Naming_Context.cpp
@@ -585,11 +585,11 @@ ACE_Name_Options::parse_args (int argc, char *argv[])
{
case 'c':
{
- if (ACE_OS::strcmp (get_opt.optarg, "PROC_LOCAL"))
+ if (ACE_OS::strcmp (get_opt.optarg, "PROC_LOCAL") == 0)
this->context (ACE_Naming_Context::PROC_LOCAL);
- else if (ACE_OS::strcmp (get_opt.optarg, "NODE_LOCAL"))
+ else if (ACE_OS::strcmp (get_opt.optarg, "NODE_LOCAL") == 0)
this->context (ACE_Naming_Context::NODE_LOCAL);
- else if (ACE_OS::strcmp (get_opt.optarg, "NET_LOCAL"))
+ else if (ACE_OS::strcmp (get_opt.optarg, "NET_LOCAL") == 0)
this->context (ACE_Naming_Context::NET_LOCAL);
}
break;