gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r37510 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r37510 - gnunet/src/transport
Date: Fri, 8 Jul 2016 20:26:22 +0200

Author: grothoff
Date: 2016-07-08 20:26:21 +0200 (Fri, 08 Jul 2016)
New Revision: 37510

Modified:
   gnunet/src/transport/test_transport_api_timeout.c
Log:
th is dead in this test

Modified: gnunet/src/transport/test_transport_api_timeout.c
===================================================================
--- gnunet/src/transport/test_transport_api_timeout.c   2016-07-08 18:24:23 UTC 
(rev 37509)
+++ gnunet/src/transport/test_transport_api_timeout.c   2016-07-08 18:26:21 UTC 
(rev 37510)
@@ -60,8 +60,6 @@
 
 static struct GNUNET_TRANSPORT_TESTING_ConnectRequest * cc;
 
-static struct GNUNET_TRANSPORT_TransmitHandle *th;
-
 static char *cfg_file_p1;
 
 static char *cfg_file_p2;
@@ -97,11 +95,6 @@
     die_task = NULL;
   }
 
-  if (th != NULL)
-    GNUNET_TRANSPORT_notify_transmit_ready_cancel (th);
-  th = NULL;
-
-
   GNUNET_TRANSPORT_TESTING_stop_peer (tth, p1);
   GNUNET_TRANSPORT_TESTING_stop_peer (tth, p2);
 
@@ -135,9 +128,6 @@
   }
   if (cc != NULL)
     GNUNET_TRANSPORT_TESTING_connect_peers_cancel (tth, cc);
-  if (th != NULL)
-    GNUNET_TRANSPORT_notify_transmit_ready_cancel (th);
-  th = NULL;
   if (p1 != NULL)
     GNUNET_TRANSPORT_TESTING_stop_peer (tth, p1);
   if (p2 != NULL)
@@ -175,9 +165,6 @@
                 GNUNET_i2s (peer));
     disconnects++;
   }
-  if (th != NULL)
-    GNUNET_TRANSPORT_notify_transmit_ready_cancel (th);
-  th = NULL;
 }
 
 




reply via email to

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