From: xrs Date: Tue, 26 Jun 2018 10:31:00 +0000 (+0200) Subject: add check X-Git-Tag: v0.11.0~339 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb3a42054245e0ae84a73a7e71b4973beb229108;p=oweals%2Fgnunet.git add check --- 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,