summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslClientTransceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/SslClientTransceiver.cpp')
-rw-r--r--cpp/src/IceSSL/SslClientTransceiver.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/IceSSL/SslClientTransceiver.cpp b/cpp/src/IceSSL/SslClientTransceiver.cpp
index 4deb7038700..ea90e1c54ef 100644
--- a/cpp/src/IceSSL/SslClientTransceiver.cpp
+++ b/cpp/src/IceSSL/SslClientTransceiver.cpp
@@ -284,14 +284,14 @@ IceSSL::SslClientTransceiver::handshake(int timeout)
else // result == 0
{
//
- // The OpenSSL docs say that a result code of 0 indicates
- // a graceful shutdown. In order to cause a retry in the
- // Ice core, we raise ConnectFailedException. However,
- // errno isn't set in this situation, so we always use
+ // The OpenSSL docs say that a result code of 0
+ // indicates a graceful shutdown. In order to
+ // cause a retry in the Ice core, we raise
+ // ConnectionRefusedException. However, errno
+ // isn't set in this situation, so we always use
// ECONNREFUSED.
//
-
- ConnectFailedException ex(__FILE__, __LINE__);
+ ConnectionRefusedException ex(__FILE__, __LINE__);
#ifdef _WIN32
ex.error = WSAECONNREFUSED;
#else