summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Admin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Admin.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Admin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Admin.cpp b/TAO/orbsvcs/orbsvcs/Notify/Admin.cpp
index 04d5b4151d3..c09b42e1bee 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Admin.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Admin.cpp
@@ -159,7 +159,7 @@ TAO_Notify_Admin::load_attrs(const TAO_Notify::NVPList& attrs)
}
if (attrs.find ("default", value))
{
- this->is_default_ = ACE_OS::strcmp (value, "yes");
+ this->is_default_ = (ACE_OS::strcmp (value, "yes") == 0);
}
}