aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_scheduling.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/ats_api_scheduling.c')
-rw-r--r--src/ats/ats_api_scheduling.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c
index ec14e0e13..ddb4f41c8 100644
--- a/src/ats/ats_api_scheduling.c
+++ b/src/ats/ats_api_scheduling.c
@@ -27,7 +27,6 @@
27#include "gnunet_ats_service.h" 27#include "gnunet_ats_service.h"
28#include "ats.h" 28#include "ats.h"
29 29
30#define DEBUG_ATS GNUNET_EXTRA_LOGGING
31 30
32#define INTERFACE_PROCESSING_INTERVALL GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1) 31#define INTERFACE_PROCESSING_INTERVALL GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 1)
33 32
@@ -213,7 +212,7 @@ static void
213force_reconnect (struct GNUNET_ATS_SchedulingHandle *sh) 212force_reconnect (struct GNUNET_ATS_SchedulingHandle *sh)
214{ 213{
215 sh->reconnect = GNUNET_NO; 214 sh->reconnect = GNUNET_NO;
216 GNUNET_CLIENT_disconnect (sh->client, GNUNET_NO); 215 GNUNET_CLIENT_disconnect (sh->client);
217 sh->client = NULL; 216 sh->client = NULL;
218 sh->task = 217 sh->task =
219 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &reconnect_task, 218 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &reconnect_task,
@@ -918,7 +917,7 @@ GNUNET_ATS_scheduling_done (struct GNUNET_ATS_SchedulingHandle *sh)
918 } 917 }
919 if (NULL != sh->client) 918 if (NULL != sh->client)
920 { 919 {
921 GNUNET_CLIENT_disconnect (sh->client, GNUNET_NO); 920 GNUNET_CLIENT_disconnect (sh->client);
922 sh->client = NULL; 921 sh->client = NULL;
923 } 922 }
924 if (GNUNET_SCHEDULER_NO_TASK != sh->task) 923 if (GNUNET_SCHEDULER_NO_TASK != sh->task)