diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-02-16 14:57:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-02-16 14:57:07 +0000 |
commit | 12abf39dc040f3418b3bfc2e3888d48098ec7bbf (patch) | |
tree | bea993b1737245aac06ad3ba1344d3c3946a98bf /src/namecache | |
parent | 86fe24ae780d62e0ec2b35946b77ccfa48682784 (diff) | |
download | gnunet-12abf39dc040f3418b3bfc2e3888d48098ec7bbf.tar.gz gnunet-12abf39dc040f3418b3bfc2e3888d48098ec7bbf.zip |
-indentation, superfluous asserts
Diffstat (limited to 'src/namecache')
-rw-r--r-- | src/namecache/namecache_api.c | 6 |
1 files 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, | |||
271 | if (NULL != qe->cont) | 271 | if (NULL != qe->cont) |
272 | qe->cont (qe->cont_cls, | 272 | qe->cont (qe->cont_cls, |
273 | res, | 273 | res, |
274 | (GNUNET_OK == res) ? | 274 | (GNUNET_OK == res) |
275 | NULL | 275 | ? NULL |
276 | : _("Namecache failed to cache block")); | 276 | : _("Namecache failed to cache block")); |
277 | return GNUNET_OK; | 277 | return GNUNET_OK; |
278 | } | 278 | } |
@@ -690,8 +690,6 @@ GNUNET_NAMECACHE_lookup_block (struct GNUNET_NAMECACHE_Handle *h, | |||
690 | size_t msg_size; | 690 | size_t msg_size; |
691 | uint32_t rid; | 691 | uint32_t rid; |
692 | 692 | ||
693 | GNUNET_assert (NULL != h); | ||
694 | GNUNET_assert (NULL != derived_hash); | ||
695 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 693 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
696 | "Looking for block under %s\n", | 694 | "Looking for block under %s\n", |
697 | GNUNET_h2s (derived_hash)); | 695 | GNUNET_h2s (derived_hash)); |