diff options
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-x | cpp/src/IcePatch2/ClientUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp index c9c5ca4da30..8986ce37723 100755 --- a/cpp/src/IcePatch2/ClientUtil.cpp +++ b/cpp/src/IcePatch2/ClientUtil.cpp @@ -166,13 +166,13 @@ IcePatch2::Patcher::Patcher(const CommunicatorPtr& communicator, const PatcherFe const char* instanceProperty = "IcePatch2.InstanceName"; idStr = properties->getPropertyWithDefault(instanceProperty, "IcePatch2") + "/server"; } - const Identity id = stringToIdentity(idStr); + const Identity id = communicator->stringToIdentity(idStr); - ObjectPrx serverBase = communicator->stringToProxy(identityToString(id) + ':' + endpoints); + ObjectPrx serverBase = communicator->stringToProxy(communicator->identityToString(id) + ':' + endpoints); FileServerPrx server = FileServerPrx::checkedCast(serverBase); if(!server) { - throw "proxy `" + identityToString(id) + ':' + endpoints + "' is not a file server."; + throw "proxy `" + communicator->identityToString(id) + ':' + endpoints + "' is not a file server."; } init(server); |