From 5f56c5ccea8e7e8d59fd42ff1053f294b82b4c09 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 14 Nov 2012 12:27:52 +0000 Subject: -clearer logging --- src/datacache/plugin_datacache_heap.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/datacache/plugin_datacache_heap.c b/src/datacache/plugin_datacache_heap.c index 8bc9b29f6..41dd08974 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; } -- cgit v1.2.3