diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-07-17 00:29:21 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-07-17 00:29:21 +0000 |
commit | 6b27b852c66b2a66c8ef87b3214a0eda0e4d9cb5 (patch) | |
tree | 5df49096e9f9e845df8e06191cc66b84b307bf6c /cpp/src/IcePatch/Client.cpp | |
parent | restoring some properties; adding some missing ones (diff) | |
download | ice-6b27b852c66b2a66c8ef87b3214a0eda0e4d9cb5.tar.bz2 ice-6b27b852c66b2a66c8ef87b3214a0eda0e4d9cb5.tar.xz ice-6b27b852c66b2a66c8ef87b3214a0eda0e4d9cb5.zip |
thread-safety changes for checksums
Diffstat (limited to 'cpp/src/IcePatch/Client.cpp')
-rw-r--r-- | cpp/src/IcePatch/Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch/Client.cpp b/cpp/src/IcePatch/Client.cpp index 7bd5af6d10f..7bcc1a93903 100644 --- a/cpp/src/IcePatch/Client.cpp +++ b/cpp/src/IcePatch/Client.cpp @@ -268,8 +268,8 @@ IcePatch::Client::run(int argc, char* argv[]) } Ice::SliceChecksumDict serverChecksums = top->getSliceChecksums(); - for(Ice::SliceChecksumDict::const_iterator q = Ice::sliceChecksums.begin(); q != Ice::sliceChecksums.end(); - ++q) + Ice::SliceChecksumDict localChecksums = Ice::sliceChecksums(); + for(Ice::SliceChecksumDict::const_iterator q = localChecksums.begin(); q != localChecksums.end(); ++q) { Ice::SliceChecksumDict::const_iterator r = serverChecksums.find(q->first); if(r == serverChecksums.end() || q->second != r->second) |