diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/RT_lib')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp | 6 |
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); |