summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-06 06:37:26 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-06 06:37:26 +0000
commitd2e4420a8c0d205673bba5f70cedb3e9dbda88d5 (patch)
tree0eed10f7f1208f38f8619dbd621783f9f8157c99 /examples
parent1d99c7aafa8835352baaa53829638b1252ff72a9 (diff)
downloadATCD-d2e4420a8c0d205673bba5f70cedb3e9dbda88d5.tar.gz
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r--examples/Reactor/ReactorEx/test_remove_handler.cpp2
-rw-r--r--examples/Reactor/WFMO_Reactor/test_remove_handler.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/Reactor/ReactorEx/test_remove_handler.cpp b/examples/Reactor/ReactorEx/test_remove_handler.cpp
index 7a6d37a0731..3b0ef3906bb 100644
--- a/examples/Reactor/ReactorEx/test_remove_handler.cpp
+++ b/examples/Reactor/ReactorEx/test_remove_handler.cpp
@@ -84,7 +84,7 @@ private:
int
main (int argc, char *argv[])
{
- int close_down = arg > 1 ? 1 : 0;
+ int close_down = argc > 1 ? 1 : 0;
for (int i = 0; i < ACE_ReactorEx::MAX_SIZE; i++)
new Event_Handler (i, close_down);
diff --git a/examples/Reactor/WFMO_Reactor/test_remove_handler.cpp b/examples/Reactor/WFMO_Reactor/test_remove_handler.cpp
index 7a6d37a0731..3b0ef3906bb 100644
--- a/examples/Reactor/WFMO_Reactor/test_remove_handler.cpp
+++ b/examples/Reactor/WFMO_Reactor/test_remove_handler.cpp
@@ -84,7 +84,7 @@ private:
int
main (int argc, char *argv[])
{
- int close_down = arg > 1 ? 1 : 0;
+ int close_down = argc > 1 ? 1 : 0;
for (int i = 0; i < ACE_ReactorEx::MAX_SIZE; i++)
new Event_Handler (i, close_down);