aboutsummaryrefslogtreecommitdiff
path: root/src/arm/test_exponential_backoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/test_exponential_backoff.c')
-rw-r--r--src/arm/test_exponential_backoff.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c
index 44493c6de..1032a9010 100644
--- a/src/arm/test_exponential_backoff.c
+++ b/src/arm/test_exponential_backoff.c
@@ -141,11 +141,9 @@ service_shutdown_handler (void *cls, const struct GNUNET_MessageHeader *msg)
141 * Shutting down took too long, cancel receive and return error. 141 * Shutting down took too long, cancel receive and return error.
142 * 142 *
143 * @param cls closure 143 * @param cls closure
144 * @param tc context information (why was this task triggered now)
145 */ 144 */
146static void 145static void
147service_shutdown_cancel (void *cls, 146service_shutdown_cancel (void *cls)
148 const struct GNUNET_SCHEDULER_TaskContext *tc)
149{ 147{
150 struct ShutdownContext *shutdown_ctx = cls; 148 struct ShutdownContext *shutdown_ctx = cls;
151 149
@@ -227,7 +225,7 @@ do_nothing_service_shutdown (struct GNUNET_CLIENT_Connection *sock,
227 225
228 226
229static void 227static void
230kill_task (void *cbData, const struct GNUNET_SCHEDULER_TaskContext *tc); 228kill_task (void *cbData);
231 229
232 230
233static void 231static void
@@ -246,7 +244,7 @@ shutdown_cont (void *cls, int reason)
246 244
247 245
248static void 246static void
249kill_task (void *cbData, const struct GNUNET_SCHEDULER_TaskContext *tc) 247kill_task (void *cbData)
250{ 248{
251 static struct GNUNET_CLIENT_Connection *doNothingConnection = NULL; 249 static struct GNUNET_CLIENT_Connection *doNothingConnection = NULL;
252 250
@@ -284,7 +282,7 @@ kill_task (void *cbData, const struct GNUNET_SCHEDULER_TaskContext *tc)
284 282
285 283
286static void 284static void
287trigger_disconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 285trigger_disconnect (void *cls)
288{ 286{
289 GNUNET_ARM_disconnect_and_free (arm); 287 GNUNET_ARM_disconnect_and_free (arm);
290 GNUNET_ARM_monitor_disconnect_and_free (mon); 288 GNUNET_ARM_monitor_disconnect_and_free (mon);