summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-03-10 19:03:35 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-03-10 19:03:35 +0000
commit4e36d5a4add3d1e8b62800b4b1e6ce10036ad14c (patch)
treef5e9f9bdbf12c399bbf7704106c564aaaa4904f8 /TAO/examples
parent2a709d8ecfa6b1c5ffd4fa14fd235aef70ada87b (diff)
downloadATCD-4e36d5a4add3d1e8b62800b4b1e6ce10036ad14c.tar.gz
ChangeLogTag:Mon Mar 10 11:03:14 2003 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/Callback_Quoter/Supplier_i.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/TAO/examples/Callback_Quoter/Supplier_i.cpp b/TAO/examples/Callback_Quoter/Supplier_i.cpp
index b3b3072d046..2d3627bf379 100644
--- a/TAO/examples/Callback_Quoter/Supplier_i.cpp
+++ b/TAO/examples/Callback_Quoter/Supplier_i.cpp
@@ -197,16 +197,14 @@ Supplier::run (void)
"Periodic stockfeed",
period,
period);
- if ( timer_id== -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "schedule_timer"),
- -1);
+ if (timer_id == -1)
+ ACE_ERROR_RETURN ((LM_ERROR,
+ "%p\n",
+ "schedule_timer"),
+ -1);
// The reactor starts executing in a loop.
- this->reactor_used ()->run_event_loop ();
-
- return 0;
+ return this->reactor_used ()->run_reactor_event_loop ();
}