summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp
index 13805698ef1..39963b7b912 100644
--- a/cpp/src/Ice/Connection.cpp
+++ b/cpp/src/Ice/Connection.cpp
@@ -96,7 +96,7 @@ IceInternal::Connection::sendRequest(Outgoing* out, bool oneway)
_exception->ice_throw();
}
assert(_state < StateClosing);
-
+
Int requestId;
try
@@ -397,7 +397,7 @@ IceInternal::Connection::message(BasicStream& stream)
if (!batch)
{
Int requestId;
- stream.read(requestId);
+ is->read(requestId);
if (!_endpoint->oneway() && requestId != 0) // 0 means oneway
{
response = true;