summaryrefslogtreecommitdiff
path: root/ace/ACE.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-17 05:17:23 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-17 05:17:23 +0000
commitef9b8840bc584f8289578d2bd620496ff9cd396b (patch)
treeafa4d33418fac3b9b4bc7ef72798dde03af8a902 /ace/ACE.cpp
parent1de7c4ff79c7cfbb9db8f935876f0edca708b4c0 (diff)
downloadATCD-ef9b8840bc584f8289578d2bd620496ff9cd396b.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r--ace/ACE.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp
index 29915a4c33f..2b49dffc42b 100644
--- a/ace/ACE.cpp
+++ b/ace/ACE.cpp
@@ -48,10 +48,7 @@ ACE::read_adapter (void *args)
ACE_Thread_Control tc (stdin_adapter_args->thr_mgr_);
ACE_Event_Handler *this_ptr = stdin_adapter_args->handler_;
- ACE_HANDLE handle = this_ptr->get_handle ();
-
- if (handle == ACE_INVALID_HANDLE)
- handle = ACE_STDIN;
+ ACE_HANDLE handle = ACE_STDIN;
while (this_ptr->handle_input (handle) != -1)
continue;