summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-07-17 00:29:21 +0000
committerMark Spruiell <mes@zeroc.com>2004-07-17 00:29:21 +0000
commit6b27b852c66b2a66c8ef87b3214a0eda0e4d9cb5 (patch)
tree5df49096e9f9e845df8e06191cc66b84b307bf6c /cpp/src/IcePatch/Client.cpp
parentrestoring some properties; adding some missing ones (diff)
downloadice-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.cpp4
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)