summaryrefslogtreecommitdiff
path: root/ace/ACE.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-01-25 15:41:01 +0000
committerSteve Huston <shuston@riverace.com>1999-01-25 15:41:01 +0000
commit154623b84877dadc11757f555dc962e570c1630e (patch)
treeac1ed8da9d53693f8ffb39f137b2d5576cd96f1d /ace/ACE.cpp
parentee31bd449add3db480407be90382b45935ad3929 (diff)
downloadATCD-154623b84877dadc11757f555dc962e570c1630e.tar.gz
In handle_timed_complete, set errno to ETIMEDOUT, not ETIME, if the connect
times out.
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r--ace/ACE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp
index f43967dcd53..cebb8d9fd58 100644
--- a/ace/ACE.cpp
+++ b/ace/ACE.cpp
@@ -1743,7 +1743,7 @@ ACE::handle_timed_complete (ACE_HANDLE h,
if (n <= 0)
{
if (n == 0 && timeout != 0)
- errno = ETIME;
+ errno = ETIMEDOUT;
return ACE_INVALID_HANDLE;
}