summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch2/Server.cpp')
-rw-r--r--cpp/src/IcePatch2/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2/Server.cpp b/cpp/src/IcePatch2/Server.cpp
index 61ac9127ef2..1d12361a309 100644
--- a/cpp/src/IcePatch2/Server.cpp
+++ b/cpp/src/IcePatch2/Server.cpp
@@ -166,7 +166,7 @@ IcePatch2::PatcherService::start(int argc, char* argv[])
{
idStr = instanceName + "/server";
}
- Identity id = stringToIdentity(idStr);
+ Identity id = communicator()->stringToIdentity(idStr);
adapter->add(new FileServerI(dataDir, infoSeq), id);
if(adminAdapter)
@@ -177,7 +177,7 @@ IcePatch2::PatcherService::start(int argc, char* argv[])
{
adminIdStr = instanceName + "/admin";
}
- Identity adminId = stringToIdentity(adminIdStr);
+ Identity adminId = communicator()->stringToIdentity(adminIdStr);
adminAdapter->add(new AdminI(communicator()), adminId);
}