summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/test_transport_api_blacklisting.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/transport/test_transport_api_blacklisting.c b/src/transport/test_transport_api_blacklisting.c
index a2add5957..c3675bb9a 100644
--- a/src/transport/test_transport_api_blacklisting.c
+++ b/src/transport/test_transport_api_blacklisting.c
@@ -30,13 +30,6 @@
#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
-#define TEST_MESSAGE_SIZE 2600
-
-#define TEST_MESSAGE_TYPE 12345
-
-
-static struct GNUNET_TRANSPORT_TransmitHandle *th;
-
static struct GNUNET_TRANSPORT_TESTING_ConnectCheckContext *ccc;
static int connected;
@@ -49,8 +42,6 @@ static struct GNUNET_TRANSPORT_Blacklist *blacklist_p1;
static struct GNUNET_TRANSPORT_Blacklist *blacklist_p2;
-static struct GNUNET_SCHEDULER_Task *send_task;
-
static struct GNUNET_SCHEDULER_Task *shutdown_task;
@@ -81,21 +72,11 @@ end (void *cls)
static void
custom_shutdown (void *cls)
{
- if (NULL != send_task)
- {
- GNUNET_SCHEDULER_cancel (send_task);
- send_task = NULL;
- }
if (NULL != shutdown_task)
{
GNUNET_SCHEDULER_cancel (shutdown_task);
shutdown_task = NULL;
}
- if (NULL != th)
- {
- GNUNET_TRANSPORT_notify_transmit_ready_cancel (th);
- th = NULL;
- }
if (NULL != blacklist_p1)
{
GNUNET_TRANSPORT_blacklist_cancel (blacklist_p1);