diff options
Diffstat (limited to 'cpp/src/IcePatch/Client.cpp')
-rw-r--r-- | cpp/src/IcePatch/Client.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IcePatch/Client.cpp b/cpp/src/IcePatch/Client.cpp index 4af72481f07..2cb7144c3b3 100644 --- a/cpp/src/IcePatch/Client.cpp +++ b/cpp/src/IcePatch/Client.cpp @@ -10,7 +10,7 @@ #include <Ice/Application.h> #include <IcePatch/NodeDescFactory.h> -#include <IcePatch/NodeUtil.h> +#include <IcePatch/Util.h> using namespace std; using namespace Ice; @@ -104,7 +104,8 @@ IcePatch::Client::run(int argc, char* argv[]) // // Display node structure. // - ObjectPrx topObj = communicator()->stringToProxy("IcePatch/.:" + endpoints); + Identity identity = pathToIdentity("."); + ObjectPrx topObj = communicator()->stringToProxy(identityToString(identity) + ':' + endpoints); NodePrx top = NodePrx::checkedCast(topObj); printNodeDesc(top->describe()); } |