summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Connection.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp
index 66187162a4a..3fc002bd188 100644
--- a/cpp/src/Ice/Connection.cpp
+++ b/cpp/src/Ice/Connection.cpp
@@ -828,7 +828,10 @@ IceInternal::Connection::readable() const
void
IceInternal::Connection::read(BasicStream& stream)
{
- _transceiver->read(stream, 0);
+ if(_transceiver)
+ {
+ _transceiver->read(stream, 0);
+ }
//
// Updating _acmAbsoluteTimeout is to expensive here, because we