diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-07-13 18:16:32 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-07-13 18:16:32 +0200 |
commit | 1a04515d45530d6f0f6e341a21a26a16f7c5ca6f (patch) | |
tree | a2c312f446ffc14854d316acdb00ac2e46dd5f9d /cpp/demo/Freeze/library/RunParser.cpp | |
parent | Solaris fixes (diff) | |
download | ice-1a04515d45530d6f0f6e341a21a26a16f7c5ca6f.tar.bz2 ice-1a04515d45530d6f0f6e341a21a26a16f7c5ca6f.tar.xz ice-1a04515d45530d6f0f6e341a21a26a16f7c5ca6f.zip |
Fixed bug 2298
Diffstat (limited to 'cpp/demo/Freeze/library/RunParser.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/RunParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/Freeze/library/RunParser.cpp b/cpp/demo/Freeze/library/RunParser.cpp index f1a79c08d5f..034a708e745 100644 --- a/cpp/demo/Freeze/library/RunParser.cpp +++ b/cpp/demo/Freeze/library/RunParser.cpp @@ -91,14 +91,14 @@ runParser(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) return EXIT_FAILURE; } - LibraryPrx phoneBook = LibraryPrx::checkedCast(communicator->propertyToProxy("Library.Proxy")); - if(!phoneBook) + LibraryPrx library = LibraryPrx::checkedCast(communicator->propertyToProxy("Library.Proxy")); + if(!library) { cerr << argv[0] << ": invalid proxy" << endl; return EXIT_FAILURE; } - ParserPtr p = Parser::createParser(phoneBook); + ParserPtr p = Parser::createParser(library); int status = EXIT_SUCCESS; if(argc < 2) // No files given |