From 12abf39dc040f3418b3bfc2e3888d48098ec7bbf Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 16 Feb 2014 14:57:07 +0000 Subject: [PATCH] -indentation, superfluous asserts --- src/namecache/namecache_api.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/namecache/namecache_api.c b/src/namecache/namecache_api.c index 6ef8027a4..26d80f4bf 100644 --- a/src/namecache/namecache_api.c +++ b/src/namecache/namecache_api.c @@ -271,8 +271,8 @@ handle_block_cache_response (struct GNUNET_NAMECACHE_QueueEntry *qe, if (NULL != qe->cont) qe->cont (qe->cont_cls, res, - (GNUNET_OK == res) ? - NULL + (GNUNET_OK == res) + ? NULL : _("Namecache failed to cache block")); return GNUNET_OK; } @@ -690,8 +690,6 @@ GNUNET_NAMECACHE_lookup_block (struct GNUNET_NAMECACHE_Handle *h, size_t msg_size; uint32_t rid; - GNUNET_assert (NULL != h); - GNUNET_assert (NULL != derived_hash); LOG (GNUNET_ERROR_TYPE_DEBUG, "Looking for block under %s\n", GNUNET_h2s (derived_hash)); -- 2.25.1