diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-04-25 16:57:06 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-04-25 16:57:06 +0000 |
commit | 244947a2568a7496b687e0d9fea802966f273e5f (patch) | |
tree | ec8cf201f5e30677913dfd261b051b229c746496 /cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp | |
parent | VC++ fix (diff) | |
download | ice-244947a2568a7496b687e0d9fea802966f273e5f.tar.bz2 ice-244947a2568a7496b687e0d9fea802966f273e5f.tar.xz ice-244947a2568a7496b687e0d9fea802966f273e5f.zip |
Win32 fix
Diffstat (limited to 'cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp')
-rw-r--r-- | cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp b/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp index 0920aa798d3..c29998a3689 100644 --- a/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp +++ b/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp @@ -163,7 +163,11 @@ IceSSL::OpenSSL::ClientConnection::init(int timeout) // ECONNREFUSED. // ConnectFailedException ex(__FILE__, __LINE__); +#ifdef _WIN32 + ex.error = WSAECONNREFUSED; +#else ex.error = ECONNREFUSED; +#endif throw ex; } } |