summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/RT_lib
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-05-27 15:36:13 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-05-27 15:36:13 +0000
commit3b505546f79177b1fb43988785f819b6fa306f4d (patch)
tree508b84e36a5f373ad242361bdf3e01c7bfa5fee9 /TAO/orbsvcs/tests/Notify/RT_lib
parent3f6782842fcb10a3682642b5e42c07f9e7a1d93a (diff)
downloadATCD-3b505546f79177b1fb43988785f819b6fa306f4d.tar.gz
Sun May 27 15:35:46 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/RT_lib')
-rw-r--r--TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
index 74766c7287b..6fa0d87b4fe 100644
--- a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
@@ -51,7 +51,7 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
while (arg_shifter.is_anything_left ())
{
- if ((current_arg = arg_shifter.get_the_parameter ("-PriorityModel")))
+ if (0 != (current_arg = arg_shifter.get_the_parameter ("-PriorityModel")))
{
if (arg_shifter.cur_arg_strncasecmp ("CLIENT") == 0)
priority_model_ = RTCORBA::CLIENT_PROPAGATED;
@@ -65,7 +65,7 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
continue;
}
// -Lanes lane-count -Lane prio statc_thr dyn_thr
- if ((current_arg = arg_shifter.get_the_parameter ("-Lanes")))
+ if (0 != (current_arg = arg_shifter.get_the_parameter ("-Lanes")))
{
int lanecount = ACE_OS::atoi (current_arg);
lanes_.length (lanecount);
@@ -103,7 +103,7 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
continue;
} /* if -Lanes */
- if ((current_arg = arg_shifter.get_the_parameter ("-Bands")))
+ if (0 != (current_arg = arg_shifter.get_the_parameter ("-Bands")))
{
int bandcount = ACE_OS::atoi (current_arg);
bands_.length (bandcount);