summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r--cpp/src/Ice/Object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp
index 2179b78bb8a..8fe66e03a3c 100644
--- a/cpp/src/Ice/Object.cpp
+++ b/cpp/src/Ice/Object.cpp
@@ -248,7 +248,8 @@ DispatchStatus
Ice::Blobject::__dispatch(Incoming& in, const string& identity, const string& facet, const string& operation)
{
vector<Byte> blob;
- in.is()->read(blob);
+ Int sz = in.is()->getReadEncapsSize();
+ in.is()->readBlob(blob, sz);
ice_invokeIn(identity, facet, operation, blob);
return ::IceInternal::DispatchOK;
}