summaryrefslogtreecommitdiff
path: root/TAO/examples/Callback_Quoter
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
commit88e614b8f89a49118a82004633a8023eb863b755 (patch)
treef5e9f9bdbf12c399bbf7704106c564aaaa4904f8 /TAO/examples/Callback_Quoter
parent7ae2e259e5c8ab491810e360da018b55bfe37541 (diff)
downloadATCD-88e614b8f89a49118a82004633a8023eb863b755.tar.gz
ChangeLogTag:Mon Mar 10 11:03:14 2003 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/examples/Callback_Quoter')
-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 ();
}