diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-15 13:35:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-15 13:35:14 +0000 |
commit | 2aa54b413db70a100ebac53154e881cc9aadce63 (patch) | |
tree | c213a6bff078a43439043ee8d04985d9f405016d /src/datastore/perf_plugin_datastore.c | |
parent | 83250d05b7a67c36350d7c1a8d6a7aacbfdcd316 (diff) | |
download | gnunet-2aa54b413db70a100ebac53154e881cc9aadce63.tar.gz gnunet-2aa54b413db70a100ebac53154e881cc9aadce63.zip |
maybe
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r-- | src/datastore/perf_plugin_datastore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c index 80926bb9f..d80bf0829 100644 --- a/src/datastore/perf_plugin_datastore.c +++ b/src/datastore/perf_plugin_datastore.c | |||
@@ -246,7 +246,7 @@ expiration_get (void *cls, | |||
246 | memcpy (&i, &cdata[4], sizeof (i)); | 246 | memcpy (&i, &cdata[4], sizeof (i)); |
247 | hits[i/8] |= (1 << (i % 8)); | 247 | hits[i/8] |= (1 << (i % 8)); |
248 | crc->cnt++; | 248 | crc->cnt++; |
249 | if (PUT_10 == crc->cnt) | 249 | if (PUT_10 <= crc->cnt) |
250 | { | 250 | { |
251 | char buf[256]; | 251 | char buf[256]; |
252 | unsigned int bc; | 252 | unsigned int bc; |
@@ -301,7 +301,7 @@ replication_get (void *cls, | |||
301 | memcpy (&i, &cdata[4], sizeof (i)); | 301 | memcpy (&i, &cdata[4], sizeof (i)); |
302 | hits[i/8] |= (1 << (i % 8)); | 302 | hits[i/8] |= (1 << (i % 8)); |
303 | crc->cnt++; | 303 | crc->cnt++; |
304 | if (PUT_10 == crc->cnt) | 304 | if (PUT_10 <= crc->cnt) |
305 | { | 305 | { |
306 | char buf[256]; | 306 | char buf[256]; |
307 | unsigned int bc; | 307 | unsigned int bc; |