summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/ClientUtil.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-01-12 06:46:03 +0000
committerMichi Henning <michi@zeroc.com>2005-01-12 06:46:03 +0000
commitf64d675fb58275ba81fda113b00f3a66f0f2867b (patch)
tree072ed7ce6f4aee2cf0d2420ae1ed73d51622f831 /cpp/src/IcePatch2/ClientUtil.cpp
parentFixed bug in the way path name was constructed if icepatch2calc was given (diff)
downloadice-f64d675fb58275ba81fda113b00f3a66f0f2867b.tar.bz2
ice-f64d675fb58275ba81fda113b00f3a66f0f2867b.tar.xz
ice-f64d675fb58275ba81fda113b00f3a66f0f2867b.zip
Adjusted minimum value of ChunkSize to 1024 -- it was 1 byte, which really
doesn't make sense, as far as I can see.
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-xcpp/src/IcePatch2/ClientUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp
index 4dc6c05fa6f..6c26157b40d 100755
--- a/cpp/src/IcePatch2/ClientUtil.cpp
+++ b/cpp/src/IcePatch2/ClientUtil.cpp
@@ -152,9 +152,9 @@ IcePatch2::Patcher::Patcher(const CommunicatorPtr& communicator, const PatcherFe
throw string("no data directory specified");
}
- if(_chunkSize < 1)
+ if(_chunkSize < 1024)
{
- const_cast<Int&>(_chunkSize) = 1;
+ const_cast<Int&>(_chunkSize) = 1024;
}
PropertiesPtr properties = communicator->getProperties();