[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24947 - gnunet/src/datacache
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24947 - gnunet/src/datacache |
Date: |
Wed, 14 Nov 2012 13:27:52 +0100 |
Author: grothoff
Date: 2012-11-14 13:27:52 +0100 (Wed, 14 Nov 2012)
New Revision: 24947
Modified:
gnunet/src/datacache/plugin_datacache_heap.c
Log:
-clearer logging
Modified: gnunet/src/datacache/plugin_datacache_heap.c
===================================================================
--- gnunet/src/datacache/plugin_datacache_heap.c 2012-11-14 12:18:55 UTC
(rev 24946)
+++ gnunet/src/datacache/plugin_datacache_heap.c 2012-11-14 12:27:52 UTC
(rev 24947)
@@ -183,15 +183,14 @@
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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24947 - gnunet/src/datacache,
gnunet <=