diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-14 12:27:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-14 12:27:52 +0000 |
commit | 5f56c5ccea8e7e8d59fd42ff1053f294b82b4c09 (patch) | |
tree | 7ffd81d1a4ee997c282928bfe9f8f1e80ebc31e2 /src/datacache/plugin_datacache_heap.c | |
parent | 3ef866edf0f125c2befa26863fa9fad1fd8febda (diff) |
-clearer logging
Diffstat (limited to 'src/datacache/plugin_datacache_heap.c')
-rw-r--r-- | src/datacache/plugin_datacache_heap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/datacache/plugin_datacache_heap.c b/src/datacache/plugin_datacache_heap.c index 8bc9b29f65..41dd089746 100644 --- a/src/datacache/plugin_datacache_heap.c +++ b/src/datacache/plugin_datacache_heap.c @@ -183,15 +183,14 @@ put_cb (void *cls, GNUNET_CONTAINER_heap_update_cost (put_ctx->heap, val->hn, val->discard_time.abs_value); - return GNUNET_NO; - } - if (val->type == put_ctx->type) GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Got another value for key %s and type %d (size %u vs %u)\n", + "Got same value for key %s and type %d (size %u vs %u)\n", GNUNET_h2s (key), val->type, (unsigned int) val->size, (unsigned int) put_ctx->size); + return GNUNET_NO; + } return GNUNET_YES; } |