aboutsummaryrefslogtreecommitdiff
path: root/src/rps/test_rps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/test_rps.c')
-rw-r--r--src/rps/test_rps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index 683f2e8a3..d3b41801a 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -655,8 +655,11 @@ static void
655rps_disconnect_adapter (void *cls, 655rps_disconnect_adapter (void *cls,
656 void *op_result) 656 void *op_result)
657{ 657{
658 struct RPSPeer *peer = cls;
658 struct GNUNET_RPS_Handle *h = op_result; 659 struct GNUNET_RPS_Handle *h = op_result;
660 GNUNET_assert (NULL != peer);
659 GNUNET_RPS_disconnect (h); 661 GNUNET_RPS_disconnect (h);
662 peer->rps_handle = NULL;
660} 663}
661 664
662 665