diff options
Diffstat (limited to 'src/transport/test_transport_api_timeout.c')
-rw-r--r-- | src/transport/test_transport_api_timeout.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/transport/test_transport_api_timeout.c b/src/transport/test_transport_api_timeout.c index 89fabdefd..7a8dc36f3 100644 --- a/src/transport/test_transport_api_timeout.c +++ b/src/transport/test_transport_api_timeout.c | |||
@@ -60,8 +60,6 @@ static struct PeerContext *p2; | |||
60 | 60 | ||
61 | static struct GNUNET_TRANSPORT_TESTING_ConnectRequest * cc; | 61 | static struct GNUNET_TRANSPORT_TESTING_ConnectRequest * cc; |
62 | 62 | ||
63 | static struct GNUNET_TRANSPORT_TransmitHandle *th; | ||
64 | |||
65 | static char *cfg_file_p1; | 63 | static char *cfg_file_p1; |
66 | 64 | ||
67 | static char *cfg_file_p2; | 65 | static char *cfg_file_p2; |
@@ -97,11 +95,6 @@ end () | |||
97 | die_task = NULL; | 95 | die_task = NULL; |
98 | } | 96 | } |
99 | 97 | ||
100 | if (th != NULL) | ||
101 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); | ||
102 | th = NULL; | ||
103 | |||
104 | |||
105 | GNUNET_TRANSPORT_TESTING_stop_peer (tth, p1); | 98 | GNUNET_TRANSPORT_TESTING_stop_peer (tth, p1); |
106 | GNUNET_TRANSPORT_TESTING_stop_peer (tth, p2); | 99 | GNUNET_TRANSPORT_TESTING_stop_peer (tth, p2); |
107 | 100 | ||
@@ -135,9 +128,6 @@ end_badly (void *cls) | |||
135 | } | 128 | } |
136 | if (cc != NULL) | 129 | if (cc != NULL) |
137 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (tth, cc); | 130 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (tth, cc); |
138 | if (th != NULL) | ||
139 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); | ||
140 | th = NULL; | ||
141 | if (p1 != NULL) | 131 | if (p1 != NULL) |
142 | GNUNET_TRANSPORT_TESTING_stop_peer (tth, p1); | 132 | GNUNET_TRANSPORT_TESTING_stop_peer (tth, p1); |
143 | if (p2 != NULL) | 133 | if (p2 != NULL) |
@@ -175,9 +165,6 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
175 | GNUNET_i2s (peer)); | 165 | GNUNET_i2s (peer)); |
176 | disconnects++; | 166 | disconnects++; |
177 | } | 167 | } |
178 | if (th != NULL) | ||
179 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); | ||
180 | th = NULL; | ||
181 | } | 168 | } |
182 | 169 | ||
183 | 170 | ||