diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-12-11 05:47:41 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-12-11 05:47:41 +0000 |
commit | 7cb4f929332a80b5065dffc6dbd5852d1b63e7c6 (patch) | |
tree | 43f7be3436a7b6d0463a1f604dfd6c4e33174191 /cpp/src/IcePatch/Client.cpp | |
parent | minor edits (diff) | |
download | ice-7cb4f929332a80b5065dffc6dbd5852d1b63e7c6.tar.bz2 ice-7cb4f929332a80b5065dffc6dbd5852d1b63e7c6.tar.xz ice-7cb4f929332a80b5065dffc6dbd5852d1b63e7c6.zip |
Use a single connection with multiple subdirs
Diffstat (limited to 'cpp/src/IcePatch/Client.cpp')
-rw-r--r-- | cpp/src/IcePatch/Client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IcePatch/Client.cpp b/cpp/src/IcePatch/Client.cpp index ed819db4a79..d8d858ac7d7 100644 --- a/cpp/src/IcePatch/Client.cpp +++ b/cpp/src/IcePatch/Client.cpp @@ -244,11 +244,12 @@ IcePatch::Client::run(int argc, char* argv[]) // // Patch all subdirectories. // + FilePrx top; for(vector<string>::const_iterator p = subdirs.begin(); p != subdirs.end(); ++p) { Identity identity = pathToIdentity(*p); ObjectPrx topObj = communicator()->stringToProxy(identityToString(identity) + ':' + endpoints); - FilePrx top; + try { top = FilePrx::checkedCast(topObj); |