From cba1f253507a5bd1119cb33dc379b8e05ee77d7c Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Tue, 25 Sep 2007 15:54:24 +0200 Subject: Fixed bug 2485 --- cpp/demo/IceGrid/allocate/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/demo/IceGrid/allocate/Server.cpp') diff --git a/cpp/demo/IceGrid/allocate/Server.cpp b/cpp/demo/IceGrid/allocate/Server.cpp index a2a578e2b5e..e18c25aa933 100644 --- a/cpp/demo/IceGrid/allocate/Server.cpp +++ b/cpp/demo/IceGrid/allocate/Server.cpp @@ -40,7 +40,7 @@ Server::run(int argc, char* argv[]) Ice::PropertiesPtr properties = communicator()->getProperties(); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Hello"); Ice::Identity id = communicator()->stringToIdentity(properties->getProperty("Identity")); - adapter->add(new HelloI(properties->getProperty("Ice.ServerId")), id); + adapter->add(new HelloI(properties->getProperty("Ice.ProgramName")), id); adapter->activate(); communicator()->waitForShutdown(); return EXIT_SUCCESS; -- cgit v1.2.3