aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api_blacklist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport_api_blacklist.c')
-rw-r--r--src/transport/transport_api_blacklist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/transport_api_blacklist.c b/src/transport/transport_api_blacklist.c
index d33c4123c..c8838f1b6 100644
--- a/src/transport/transport_api_blacklist.c
+++ b/src/transport/transport_api_blacklist.c
@@ -243,7 +243,7 @@ request_notifications (struct GNUNET_TRANSPORT_BlacklistNotification *bn);
243static void 243static void
244retry_get_notifications (struct GNUNET_TRANSPORT_BlacklistNotification *bn) 244retry_get_notifications (struct GNUNET_TRANSPORT_BlacklistNotification *bn)
245{ 245{
246 GNUNET_CLIENT_disconnect (bn->client); 246 GNUNET_CLIENT_disconnect (bn->client, GNUNET_NO);
247 bn->client = GNUNET_CLIENT_connect (bn->sched, "transport", bn->cfg); 247 bn->client = GNUNET_CLIENT_connect (bn->sched, "transport", bn->cfg);
248 request_notifications (bn); 248 request_notifications (bn);
249} 249}
@@ -379,7 +379,7 @@ GNUNET_TRANSPORT_blacklist_notify_cancel (struct GNUNET_TRANSPORT_BlacklistNotif
379{ 379{
380 if (bn->th != NULL) 380 if (bn->th != NULL)
381 GNUNET_CLIENT_notify_transmit_ready_cancel (bn->th); 381 GNUNET_CLIENT_notify_transmit_ready_cancel (bn->th);
382 GNUNET_CLIENT_disconnect (bn->client); 382 GNUNET_CLIENT_disconnect (bn->client, GNUNET_NO);
383 GNUNET_free (bn); 383 GNUNET_free (bn);
384} 384}
385 385