summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2003-02-05 14:43:00 +0000
committerAnthony Neal <aneal@zeroc.com>2003-02-05 14:43:00 +0000
commitbd9acf7719ad13fb48871620b521afbc0bebdcfa (patch)
tree76481cd3ea61aa2fcc05be5ec901a6a2fc727e1e /cpp/src
parentadding makebindist.py (diff)
downloadice-bd9acf7719ad13fb48871620b521afbc0bebdcfa.tar.bz2
ice-bd9acf7719ad13fb48871620b521afbc0bebdcfa.tar.xz
ice-bd9acf7719ad13fb48871620b521afbc0bebdcfa.zip
Removed the throw in close() - close() should not throw any exceptions.
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceSSL/SslTransceiver.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp
index 4d379ec8f5a..567d4a9e9e6 100644
--- a/cpp/src/IceSSL/SslTransceiver.cpp
+++ b/cpp/src/IceSSL/SslTransceiver.cpp
@@ -73,10 +73,7 @@ IceSSL::SslTransceiver::close()
}
catch(...)
{
- assert(_fd != INVALID_SOCKET);
- closeSocket(_fd);
- _fd = INVALID_SOCKET;
- throw;
+ // Ignore, close() should not throw exceptions.
}
assert(_fd != INVALID_SOCKET);