summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/ClientUtil.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-06-11 22:09:42 +0000
committerMark Spruiell <mes@zeroc.com>2004-06-11 22:09:42 +0000
commit8ed98e4ac7dff335bfcc27ab53a485abd1a1fa68 (patch)
tree89941556c6fccadaabe01e365a0321c96e46bbee /cpp/src/IcePatch/ClientUtil.cpp
parentTurned Ice.Current and Ice.Identity into structures. Some code tidy up as (diff)
downloadice-8ed98e4ac7dff335bfcc27ab53a485abd1a1fa68.tar.bz2
ice-8ed98e4ac7dff335bfcc27ab53a485abd1a1fa68.tar.xz
ice-8ed98e4ac7dff335bfcc27ab53a485abd1a1fa68.zip
default behavior of IcePatch client now calculates MD5s dynamically for
local files
Diffstat (limited to 'cpp/src/IcePatch/ClientUtil.cpp')
-rw-r--r--cpp/src/IcePatch/ClientUtil.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/src/IcePatch/ClientUtil.cpp b/cpp/src/IcePatch/ClientUtil.cpp
index 07610ea2938..3d08927196c 100644
--- a/cpp/src/IcePatch/ClientUtil.cpp
+++ b/cpp/src/IcePatch/ClientUtil.cpp
@@ -30,7 +30,7 @@ IcePatch::pathToName(const string& path)
}
}
-void
+ByteSeq
IcePatch::getRegular(const RegularPrx& regular, ProgressCB& progressCB)
{
string path = identityToPath(regular->ice_getIdentity());
@@ -210,8 +210,5 @@ IcePatch::getRegular(const RegularPrx& regular, ProgressCB& progressCB)
throw ex;
}
- //
- // Create a MD5 file for the original file.
- //
- createMD5(path);
+ return calcMD5(path, false);
}