summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/RunParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/library/RunParser.cpp')
-rw-r--r--cpp/demo/Freeze/library/RunParser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/demo/Freeze/library/RunParser.cpp b/cpp/demo/Freeze/library/RunParser.cpp
index 4dfe8af52c7..9252cb877af 100644
--- a/cpp/demo/Freeze/library/RunParser.cpp
+++ b/cpp/demo/Freeze/library/RunParser.cpp
@@ -92,19 +92,19 @@ runParser(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
}
Ice::PropertiesPtr properties = communicator->getProperties();
- const char* refProperty = "Library.Library";
- string ref = properties->getProperty(refProperty);
- if(ref.empty())
+ const char* proxyProperty = "Library.Proxy";
+ string proxy = properties->getProperty(proxyProperty);
+ if(proxy.empty())
{
- cerr << argv[0] << ": property `" << refProperty << "' not set" << endl;
+ cerr << argv[0] << ": property `" << proxyProperty << "' not set" << endl;
return EXIT_FAILURE;
}
- Ice::ObjectPrx base = communicator->stringToProxy(ref);
+ Ice::ObjectPrx base = communicator->stringToProxy(proxy);
LibraryPrx phoneBook = LibraryPrx::checkedCast(base);
if(!phoneBook)
{
- cerr << argv[0] << ": invalid object reference" << endl;
+ cerr << argv[0] << ": invalid proxy" << endl;
return EXIT_FAILURE;
}