diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-03-12 13:29:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-03-12 13:29:05 +0000 |
commit | a6f43190ab793b3487da2133735e166e337000c4 (patch) | |
tree | fc2dacc6a36f3ec04cf86a14cdea9c5bdf45274f /src/transport/transport_api_blacklist.c | |
parent | 61cfd3340e67672f351ab92dab7da72dca058c79 (diff) | |
download | gnunet-a6f43190ab793b3487da2133735e166e337000c4.tar.gz gnunet-a6f43190ab793b3487da2133735e166e337000c4.zip |
cancel pending write if we are just dead anyway
Diffstat (limited to 'src/transport/transport_api_blacklist.c')
-rw-r--r-- | src/transport/transport_api_blacklist.c | 4 |
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); | |||
243 | static void | 243 | static void |
244 | retry_get_notifications (struct GNUNET_TRANSPORT_BlacklistNotification *bn) | 244 | retry_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 | ||