aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/datastore_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index 4f406a2bc..f4096c665 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -321,7 +321,7 @@ GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h, int drop)
321 } 321 }
322 if (h->client != NULL) 322 if (h->client != NULL)
323 { 323 {
324 GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); 324 GNUNET_CLIENT_disconnect (h->client);
325 h->client = NULL; 325 h->client = NULL;
326 } 326 }
327 if (h->reconnect_task != GNUNET_SCHEDULER_NO_TASK) 327 if (h->reconnect_task != GNUNET_SCHEDULER_NO_TASK)
@@ -346,7 +346,7 @@ GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h, int drop)
346 GNUNET_TIME_UNIT_MINUTES, 346 GNUNET_TIME_UNIT_MINUTES,
347 GNUNET_YES, &transmit_drop, h)) 347 GNUNET_YES, &transmit_drop, h))
348 return; 348 return;
349 GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); 349 GNUNET_CLIENT_disconnect (h->client);
350 h->client = NULL; 350 h->client = NULL;
351 } 351 }
352 GNUNET_break (0); 352 GNUNET_break (0);
@@ -540,7 +540,7 @@ do_disconnect (struct GNUNET_DATASTORE_Handle *h)
540 GNUNET_STATISTICS_update (stats, gettext_noop ("# reconnected to DATASTORE"), 540 GNUNET_STATISTICS_update (stats, gettext_noop ("# reconnected to DATASTORE"),
541 1, GNUNET_NO); 541 1, GNUNET_NO);
542#endif 542#endif
543 GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); 543 GNUNET_CLIENT_disconnect (h->client);
544 h->skip_next_messages = 0; 544 h->skip_next_messages = 0;
545 h->client = NULL; 545 h->client = NULL;
546 h->reconnect_task = 546 h->reconnect_task =