diff options
Diffstat (limited to 'src/testbed/gnunet-service-testbed_cache.c')
-rw-r--r-- | src/testbed/gnunet-service-testbed_cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testbed/gnunet-service-testbed_cache.c b/src/testbed/gnunet-service-testbed_cache.c index 6a141a252..9db2155fc 100644 --- a/src/testbed/gnunet-service-testbed_cache.c +++ b/src/testbed/gnunet-service-testbed_cache.c | |||
@@ -352,7 +352,7 @@ close_handles (struct CacheEntry *entry) | |||
352 | if (NULL != entry->transport_op) | 352 | if (NULL != entry->transport_op) |
353 | { | 353 | { |
354 | GNUNET_TESTBED_operation_done (entry->transport_op); | 354 | GNUNET_TESTBED_operation_done (entry->transport_op); |
355 | entry->transport_op = NULL; | 355 | entry->transport_op = NULL; |
356 | } | 356 | } |
357 | if (NULL != entry->core_op) | 357 | if (NULL != entry->core_op) |
358 | { | 358 | { |
@@ -610,7 +610,7 @@ oprelease_get_handle_transport (void *cls) | |||
610 | * @param my_identity ID of this peer, NULL if we failed | 610 | * @param my_identity ID of this peer, NULL if we failed |
611 | */ | 611 | */ |
612 | static void | 612 | static void |
613 | core_startup_cb (void *cls, | 613 | core_startup_cb (void *cls, |
614 | const struct GNUNET_PeerIdentity *my_identity) | 614 | const struct GNUNET_PeerIdentity *my_identity) |
615 | { | 615 | { |
616 | struct CacheEntry *entry = cls; | 616 | struct CacheEntry *entry = cls; |
@@ -836,7 +836,7 @@ cache_clear_iterator (void *cls, const struct GNUNET_HashCode *key, void *value) | |||
836 | GNUNET_assert (NULL != entry); | 836 | GNUNET_assert (NULL != entry); |
837 | GNUNET_break (0 == entry->demand); | 837 | GNUNET_break (0 == entry->demand); |
838 | LOG_DEBUG ("Clearing entry %u of %u\n", ++ncleared, cache_size); | 838 | LOG_DEBUG ("Clearing entry %u of %u\n", ++ncleared, cache_size); |
839 | GNUNET_assert (GNUNET_YES == | 839 | GNUNET_assert (GNUNET_YES == |
840 | GNUNET_CONTAINER_multihashmap_remove (cache, key, value)); | 840 | GNUNET_CONTAINER_multihashmap_remove (cache, key, value)); |
841 | close_handles (entry); | 841 | close_handles (entry); |
842 | GNUNET_free_non_null (entry->hello); | 842 | GNUNET_free_non_null (entry->hello); |