diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-09-23 10:54:29 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-09-23 10:54:29 -0230 |
commit | 0e5a650f2b2085c823c4529fcf55b85706c3c1ee (patch) | |
tree | 35d1f338e25e5224681bfa5c6e52a8358bd11b01 /cpp/src/Ice/UdpTransceiver.cpp | |
parent | ICE-5670 - interrupt test failure (diff) | |
download | ice-0e5a650f2b2085c823c4529fcf55b85706c3c1ee.tar.bz2 ice-0e5a650f2b2085c823c4529fcf55b85706c3c1ee.tar.xz ice-0e5a650f2b2085c823c4529fcf55b85706c3c1ee.zip |
Minor change to Udptransceiver to ensure proper tracing on failure
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/UdpTransceiver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp index a54fd179d95..72bfc604a15 100644 --- a/cpp/src/Ice/UdpTransceiver.cpp +++ b/cpp/src/Ice/UdpTransceiver.cpp @@ -129,8 +129,9 @@ IceInternal::UdpTransceiver::close() #endif assert(_fd != INVALID_SOCKET); - closeSocket(_fd); + SOCKET fd = _fd; _fd = INVALID_SOCKET; + closeSocket(fd); } EndpointIPtr |