diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-04 15:40:24 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-04 15:40:24 +0000 |
commit | b5086e9be0baa8e5a2268fb6fe53ea6a0f8558a6 (patch) | |
tree | e41d34d1be3f7e21670cf831a4d9e0cf8c3fc8b9 /cpp/src/IcePatch/Client.cpp | |
parent | more IcePatch stuff (diff) | |
download | ice-b5086e9be0baa8e5a2268fb6fe53ea6a0f8558a6.tar.bz2 ice-b5086e9be0baa8e5a2268fb6fe53ea6a0f8558a6.tar.xz ice-b5086e9be0baa8e5a2268fb6fe53ea6a0f8558a6.zip |
more IcePatch stuff
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()); } |