summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Client.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-12-11 05:47:41 +0000
committerBernard Normier <bernard@zeroc.com>2003-12-11 05:47:41 +0000
commit7cb4f929332a80b5065dffc6dbd5852d1b63e7c6 (patch)
tree43f7be3436a7b6d0463a1f604dfd6c4e33174191 /cpp/src/IcePatch/Client.cpp
parentminor edits (diff)
downloadice-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.cpp3
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);