diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-05-27 15:36:13 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-05-27 15:36:13 +0000 |
commit | 3b505546f79177b1fb43988785f819b6fa306f4d (patch) | |
tree | 508b84e36a5f373ad242361bdf3e01c7bfa5fee9 /TAO/tests/Exposed_Policies | |
parent | 3f6782842fcb10a3682642b5e42c07f9e7a1d93a (diff) | |
download | ATCD-3b505546f79177b1fb43988785f819b6fa306f4d.tar.gz |
Sun May 27 15:35:46 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/tests/Exposed_Policies')
-rw-r--r-- | TAO/tests/Exposed_Policies/Policy_Tester.cpp | 8 | ||||
-rw-r--r-- | TAO/tests/Exposed_Policies/Policy_Verifier.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/TAO/tests/Exposed_Policies/Policy_Tester.cpp b/TAO/tests/Exposed_Policies/Policy_Tester.cpp index 1b858b7697c..034c7f04675 100644 --- a/TAO/tests/Exposed_Policies/Policy_Tester.cpp +++ b/TAO/tests/Exposed_Policies/Policy_Tester.cpp @@ -65,17 +65,17 @@ Policy_Tester::init (int argc, { const char *arg = 0; // IOR File Name Option. - if ((arg = arg_shifter.get_the_parameter ("-POAConfigFile"))) + if (0 != (arg = arg_shifter.get_the_parameter ("-POAConfigFile"))) { this->rt_poa_properties_ = RT_Properties::read_from (arg); } - else if ((arg = arg_shifter.get_the_parameter ("-ObjectConfigFile"))) + else if (0 != (arg = arg_shifter.get_the_parameter ("-ObjectConfigFile"))) { this->rt_object_properties_ = RT_Properties::read_from (arg); } - else if ((arg = arg_shifter.get_the_parameter ("-BaseObjectIOR"))) + else if (0 != (arg = arg_shifter.get_the_parameter ("-BaseObjectIOR"))) { if (this->rt_poa_properties_ == 0) { @@ -86,7 +86,7 @@ Policy_Tester::init (int argc, } this->rt_poa_properties_->ior_source (arg); } - else if ((arg = arg_shifter.get_the_parameter ("-OverriddenIOR"))) + else if (0 != (arg = arg_shifter.get_the_parameter ("-OverriddenIOR"))) { if (this->rt_object_properties_ == 0) { diff --git a/TAO/tests/Exposed_Policies/Policy_Verifier.cpp b/TAO/tests/Exposed_Policies/Policy_Verifier.cpp index 1afab480fa9..cf74b6b373b 100644 --- a/TAO/tests/Exposed_Policies/Policy_Verifier.cpp +++ b/TAO/tests/Exposed_Policies/Policy_Verifier.cpp @@ -30,19 +30,19 @@ Policy_Verifier::init (int argc, { const char *arg = 0; // IOR File Name Option. - if ((arg = arg_shifter.get_the_parameter ("-POAConfigFile"))) + if (0 != (arg = arg_shifter.get_the_parameter ("-POAConfigFile"))) { this->rt_poa_properties_ = RT_Properties::read_from (arg); this->priority_bands_ = this->rt_poa_properties_->priority_bands ().length (); } - else if ((arg = arg_shifter.get_the_parameter ("-ObjectConfigFile"))) + else if (0 != (arg = arg_shifter.get_the_parameter ("-ObjectConfigFile"))) { this->rt_object_properties_ = RT_Properties::read_from (arg); } - else if ((arg = arg_shifter.get_the_parameter ("-BaseObjectIOR"))) + else if (0 != (arg = arg_shifter.get_the_parameter ("-BaseObjectIOR"))) { if (this->rt_poa_properties_ == 0) { @@ -56,7 +56,7 @@ Policy_Verifier::init (int argc, ACE_OS::strcat (this->base_object_ref_, this->rt_poa_properties_->ior_source ()); } - else if ((arg = arg_shifter.get_the_parameter ("-OverriddenIOR"))) + else if (0 != (arg = arg_shifter.get_the_parameter ("-OverriddenIOR"))) { if (this->rt_object_properties_ == 0) { |