diff options
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index 18971a986..1b6d89afe 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c | |||
@@ -352,6 +352,10 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
352 | { | 352 | { |
353 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' disconnected (%p)!\n", | 353 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' disconnected (%p)!\n", |
354 | GNUNET_i2s (peer), cls); | 354 | GNUNET_i2s (peer), cls); |
355 | if (th != NULL) | ||
356 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); | ||
357 | th = NULL; | ||
358 | |||
355 | } | 359 | } |
356 | 360 | ||
357 | static void | 361 | static void |