summaryrefslogtreecommitdiff
path: root/ACE/ace/ACE.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2008-12-02 12:48:21 +0000
committerSteve Huston <shuston@riverace.com>2008-12-02 12:48:21 +0000
commit9d77e2dee69ec6db32ffc58f4c62e79996954ee4 (patch)
tree807e0aa99b8a350555761f36bafd16e1e0966db8 /ACE/ace/ACE.cpp
parent4380f8ceab12d580d23635602360ca1281b98c01 (diff)
downloadATCD-9d77e2dee69ec6db32ffc58f4c62e79996954ee4.tar.gz
ChangeLogTag:Tue Dec 2 12:47:06 UTC 2008 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/ACE.cpp')
-rw-r--r--ACE/ace/ACE.cpp18
1 files changed, 13 insertions, 5 deletions
diff --git a/ACE/ace/ACE.cpp b/ACE/ace/ACE.cpp
index 9b347b01a60..7acccf09079 100644
--- a/ACE/ace/ACE.cpp
+++ b/ACE/ace/ACE.cpp
@@ -2563,11 +2563,19 @@ ACE::handle_timed_complete (ACE_HANDLE h,
int n = ACE_OS::poll (&fds, 1, timeout);
# else
- int n = ACE_OS::select (int (h) + 1,
- is_tli ? rd_handles : 0,
- wr_handles,
- 0,
- timeout);
+ int n = 0;
+ if (is_tli)
+ n = ACE_OS::select (int (h) + 1,
+ rd_handles,
+ wr_handles,
+ 0,
+ timeout);
+ else
+ n = ACE_OS::select (int (h) + 1,
+ 0,
+ wr_handles,
+ 0,
+ timeout);
# endif /* ACE_HAS_POLL && ACE_HAS_LIMITED_SELECT */
#endif /* ACE_WIN32 */