summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Operation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/IcePHP/Operation.cpp')
-rw-r--r--php/src/IcePHP/Operation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/src/IcePHP/Operation.cpp b/php/src/IcePHP/Operation.cpp
index bfeaeff4075..412de85e9b5 100644
--- a/php/src/IcePHP/Operation.cpp
+++ b/php/src/IcePHP/Operation.cpp
@@ -560,7 +560,7 @@ void
IcePHP::TypedInvocation::unmarshalResults(int argc, zval** args, zval* ret,
const pair<const Ice::Byte*, const Ice::Byte*>& bytes TSRMLS_DC)
{
- Ice::InputStreamPtr is = Ice::createInputStream(_communicator->getCommunicator(), bytes, false);
+ Ice::InputStreamPtr is = Ice::wrapInputStream(_communicator->getCommunicator(), bytes);
//
// Store a pointer to a local SlicedDataUtil object as the stream's closure.
@@ -667,7 +667,7 @@ IcePHP::TypedInvocation::unmarshalResults(int argc, zval** args, zval* ret,
zval*
IcePHP::TypedInvocation::unmarshalException(const pair<const Ice::Byte*, const Ice::Byte*>& bytes TSRMLS_DC)
{
- Ice::InputStreamPtr is = Ice::createInputStream(_communicator->getCommunicator(), bytes, false);
+ Ice::InputStreamPtr is = Ice::wrapInputStream(_communicator->getCommunicator(), bytes);
//
// Store a pointer to a local SlicedDataUtil object as the stream's closure.