From b8d187aab3d3bacbe5deed982b49679dd10a0129 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20B=C3=BCnger?= Date: Sat, 20 Jun 2015 13:48:34 +0000 Subject: [PATCH] -fixed typos --- src/rps/gnunet-service-rps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 892c39ac8..47627fb51 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -2198,7 +2198,7 @@ do_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) /* Update view with peers received through PUSHes */ permut = GNUNET_CRYPTO_random_permute (GNUNET_CRYPTO_QUALITY_STRONG, - pull_list_size); + push_list_size); for (i = 0; i < first_border; i++) { view_array[i] = push_list[permut[i]]; @@ -2497,7 +2497,7 @@ shutdown_task (void *cls, LOG (GNUNET_ERROR_TYPE_DEBUG, "Size of the peermap: %u\n", GNUNET_CONTAINER_multipeermap_size (peer_map)); - GNUNET_break (0 != GNUNET_CONTAINER_multipeermap_size (peer_map)); + GNUNET_break (0 == GNUNET_CONTAINER_multipeermap_size (peer_map)); GNUNET_CONTAINER_multipeermap_destroy (peer_map); GNUNET_CADET_disconnect (cadet_handle); GNUNET_CONTAINER_multipeermap_destroy (view); -- 2.25.1