From fb3a42054245e0ae84a73a7e71b4973beb229108 Mon Sep 17 00:00:00 2001 From: xrs Date: Tue, 26 Jun 2018 12:31:00 +0200 Subject: [PATCH] add check --- src/rps/test_rps.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c index 3ef1e6611..e7b82458a 100644 --- a/src/rps/test_rps.c +++ b/src/rps/test_rps.c @@ -953,6 +953,8 @@ rps_connect_complete_cb (void *cls, struct RPSPeer *rps_peer = cls; struct GNUNET_RPS_Handle *rps = ca_result; + GNUNET_assert (NULL != ca_result); + if (GNUNET_YES == in_shutdown || GNUNET_YES == post_test) { return; @@ -2905,6 +2907,7 @@ main (int argc, char *argv[]) } ret_value = cur_test_run.eval_cb(); + if (NO_COLLECT_VIEW == cur_test_run.have_collect_view) { GNUNET_array_grow (rps_peers->cur_view, -- 2.25.1