summaryrefslogtreecommitdiff
path: root/TAO/examples/RTCORBA/Activity/Builder.cpp
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-05-27 14:13:19 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-05-27 14:13:19 +0000
commit3f6782842fcb10a3682642b5e42c07f9e7a1d93a (patch)
treee1a437db3e3400eecfb51fb1f330e64cbc87ccfb /TAO/examples/RTCORBA/Activity/Builder.cpp
parentaac07955a1cbe6bd7a6e3e1ce6b6450fbc303228 (diff)
downloadATCD-3f6782842fcb10a3682642b5e42c07f9e7a1d93a.tar.gz
Sun May 27 14:03:18 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/examples/RTCORBA/Activity/Builder.cpp')
-rw-r--r--TAO/examples/RTCORBA/Activity/Builder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/examples/RTCORBA/Activity/Builder.cpp b/TAO/examples/RTCORBA/Activity/Builder.cpp
index 1f4433aca95..5075c7cd5ad 100644
--- a/TAO/examples/RTCORBA/Activity/Builder.cpp
+++ b/TAO/examples/RTCORBA/Activity/Builder.cpp
@@ -38,19 +38,19 @@ Builder::init (int argc, char *argv[])
while (arg_shifter.is_anything_left ())
{
- if ((current_arg = arg_shifter.get_the_parameter ("-TaskCount")))
+ if (0 != (current_arg = arg_shifter.get_the_parameter ("-TaskCount")))
{
task_count_ = ACE_OS::atoi (current_arg);
ACE_NEW_RETURN (task_list_, Periodic_Task*[task_count_], -1);
arg_shifter.consume_arg ();
}
- if ((current_arg = arg_shifter.get_the_parameter ("-JobCount")))
+ if (0 != (current_arg = arg_shifter.get_the_parameter ("-JobCount")))
{
job_count_ = ACE_OS::atoi (current_arg);
ACE_NEW_RETURN (job_list_, Job_i*[job_count_], -1);
arg_shifter.consume_arg ();
}
- if ((current_arg = arg_shifter.get_the_parameter ("-POACount")))
+ if (0 != (current_arg = arg_shifter.get_the_parameter ("-POACount")))
{
poa_count_ = ACE_OS::atoi (current_arg);
ACE_NEW_RETURN (poa_list_, POA_Holder*[poa_count_], -1);