diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-09-29 06:46:47 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-09-29 06:46:47 +0000 |
commit | d62c6fb7024089fb618c2d0c4c68d581f00b4324 (patch) | |
tree | 865efb69e7e9214c5c59e30cba82a6f9b7084b11 /ace/SSL | |
parent | 43c3807e46e5fe3d4cf1596c0f1b7f629184d02f (diff) | |
download | ATCD-d62c6fb7024089fb618c2d0c4c68d581f00b4324.tar.gz |
ChangeLogTag:Fri Sep 28 23:38:07 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/SSL')
-rw-r--r-- | ace/SSL/SSL_SOCK_Connector.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/ace/SSL/SSL_SOCK_Connector.cpp b/ace/SSL/SSL_SOCK_Connector.cpp index 05fbc454186..a383b709717 100644 --- a/ace/SSL/SSL_SOCK_Connector.cpp +++ b/ace/SSL/SSL_SOCK_Connector.cpp @@ -203,12 +203,7 @@ ACE_SSL_SOCK_Connector::connect (ACE_SSL_SOCK_Stream &new_stream, perms, protocol_family, protocol) == -1) - { - if (errno == EWOULDBLOCK) - new_stream.ACE_SSL_SOCK::set_handle (new_stream.peer ().get_handle ()); - - return -1; - } + return -1; else if (new_stream.get_handle () == ACE_INVALID_HANDLE) new_stream.set_handle (new_stream.peer ().get_handle ()); @@ -247,12 +242,7 @@ ACE_SSL_SOCK_Connector::connect (ACE_SSL_SOCK_Stream &new_stream, perms, protocol_family, protocol) == -1) - { - if (errno == EWOULDBLOCK) - new_stream.ACE_SSL_SOCK::set_handle (new_stream.peer ().get_handle ()); - - return -1; - } + return -1; else if (new_stream.get_handle () == ACE_INVALID_HANDLE) new_stream.set_handle (new_stream.peer ().get_handle ()); |