From de30f210414a1f1f296c0cfb4406b171c1fc7b62 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 28 Feb 2015 16:21:34 +0000 Subject: generally use GNUNET_assert() instead of GNUNET_abort() to also log the error --- src/rps/gnunet-service-rps_sampler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rps') diff --git a/src/rps/gnunet-service-rps_sampler.c b/src/rps/gnunet-service-rps_sampler.c index 27c65fff6..0cbfc901b 100644 --- a/src/rps/gnunet-service-rps_sampler.c +++ b/src/rps/gnunet-service-rps_sampler.c @@ -748,7 +748,7 @@ RPS_sampler_get_n_rand_peers (struct RPS_Sampler *sampler, else if (GNUNET_NO == for_client) gpc->get_peer_task = GNUNET_SCHEDULER_add_now (&sampler_get_rand_peer2, gpc); else - GNUNET_abort (); + GNUNET_assert (0); GNUNET_CONTAINER_DLL_insert (gpc_head, gpc_tail, gpc); } -- cgit v1.2.3