summaryrefslogtreecommitdiff
path: root/cpp/demo/IcePatch2/MFC/PatchClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/PatchClient.cpp')
-rw-r--r--cpp/demo/IcePatch2/MFC/PatchClient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/IcePatch2/MFC/PatchClient.cpp b/cpp/demo/IcePatch2/MFC/PatchClient.cpp
index f444d846393..37100529e3b 100644
--- a/cpp/demo/IcePatch2/MFC/PatchClient.cpp
+++ b/cpp/demo/IcePatch2/MFC/PatchClient.cpp
@@ -63,9 +63,9 @@ CPatchClientApp::InitInstance()
}
Ice::PropertiesPtr properties = communicator->getProperties();
- if(properties->getProperty("IcePatch2.Endpoints").empty())
+ if(properties->getProperty("IcePatch2Client.Proxy").empty())
{
- properties->setProperty("IcePatch2.Endpoints", "tcp -h 127.0.0.1 -p 10000");
+ properties->setProperty("IcePatch2Client.Proxy", "IcePatch2/server:tcp -h localhost -p 10000");
}
CPatchDlg dlg(communicator);