summaryrefslogtreecommitdiff
path: root/ACE/ace/SOCK_SEQPACK_Connector.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-11-14 09:41:52 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-11-14 09:41:52 +0000
commiteaeac78911bded6ecc3af49443b7d0cb54bb503f (patch)
treef09bff7eb4618e00087e5162382dfe41177bbbbb /ACE/ace/SOCK_SEQPACK_Connector.cpp
parentb9b0ad8a9428deedd2cb0d3fc40432c15988a758 (diff)
downloadATCD-eaeac78911bded6ecc3af49443b7d0cb54bb503f.tar.gz
Thu Nov 13 09:41:30 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/SOCK_SEQPACK_Connector.cpp')
-rw-r--r--ACE/ace/SOCK_SEQPACK_Connector.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/SOCK_SEQPACK_Connector.cpp b/ACE/ace/SOCK_SEQPACK_Connector.cpp
index 7027b460fe7..e56253b1b6f 100644
--- a/ACE/ace/SOCK_SEQPACK_Connector.cpp
+++ b/ACE/ace/SOCK_SEQPACK_Connector.cpp
@@ -243,8 +243,7 @@ ACE_SOCK_SEQPACK_Connector::shared_connect_finish (ACE_SOCK_SEQPACK_Association
if (error == EINPROGRESS || error == EWOULDBLOCK)
{
// This expression checks if we were polling.
- if (timeout->sec () == 0
- && timeout->usec () == 0)
+ if (*timeout == ACE_Time_Value::zero)
error = EWOULDBLOCK;
// Wait synchronously using timeout.
else if (this->complete (new_association,