gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36193 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r36193 - gnunet/src/rps
Date: Mon, 3 Aug 2015 17:49:31 +0200

Author: harsha
Date: 2015-08-03 17:49:30 +0200 (Mon, 03 Aug 2015)
New Revision: 36193

Modified:
   gnunet/src/rps/test_rps.c
Log:
- set the connection handle to NULL upon disconnecting

Modified: gnunet/src/rps/test_rps.c
===================================================================
--- gnunet/src/rps/test_rps.c   2015-08-03 15:39:05 UTC (rev 36192)
+++ gnunet/src/rps/test_rps.c   2015-08-03 15:49:30 UTC (rev 36193)
@@ -655,8 +655,11 @@
 rps_disconnect_adapter (void *cls,
                                          void *op_result)
 {
+  struct RPSPeer *peer = cls;
   struct GNUNET_RPS_Handle *h = op_result;
+  GNUNET_assert (NULL != peer);
   GNUNET_RPS_disconnect (h);
+  peer->rps_handle = NULL;
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]