summaryrefslogtreecommitdiff
path: root/php/src/php7/Communicator.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-07-11 12:12:32 -0400
committerBernard Normier <bernard@zeroc.com>2016-07-11 12:12:32 -0400
commitc82c5fa257bdbd1d76024ec1cc188d4ade3bead6 (patch)
tree2476163048f60215a0674ad98499b030afeb048f /php/src/php7/Communicator.cpp
parentAdd missing file from previous commit (diff)
downloadice-c82c5fa257bdbd1d76024ec1cc188d4ade3bead6.tar.bz2
ice-c82c5fa257bdbd1d76024ec1cc188d4ade3bead6.tar.xz
ice-c82c5fa257bdbd1d76024ec1cc188d4ade3bead6.zip
Fixed streamFilename bug
Diffstat (limited to 'php/src/php7/Communicator.cpp')
-rw-r--r--php/src/php7/Communicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/php7/Communicator.cpp b/php/src/php7/Communicator.cpp
index e6c34e4b5ac..b7943d07907 100644
--- a/php/src/php7/Communicator.cpp
+++ b/php/src/php7/Communicator.cpp
@@ -1532,7 +1532,7 @@ parseProfiles(const string& file)
// ice.config = config-file
// ice.options = args
//
- ifstream in(IceUtilInternal::streamFilename(file));
+ ifstream in(IceUtilInternal::streamFilename(file).c_str());
if(!in)
{
php_error_docref(0, E_WARNING, "unable to open Ice profiles in %s", file.c_str());