diff options
Diffstat (limited to 'src/transport/test_transport_api_unreliability_constant.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability_constant.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_unreliability_constant.c b/src/transport/test_transport_api_unreliability_constant.c index 5ad6c6afb..64fe4be37 100644 --- a/src/transport/test_transport_api_unreliability_constant.c +++ b/src/transport/test_transport_api_unreliability_constant.c | |||
@@ -384,6 +384,9 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
384 | { | 384 | { |
385 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' disconnected (%p)!\n", | 385 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' disconnected (%p)!\n", |
386 | GNUNET_i2s (peer), cls); | 386 | GNUNET_i2s (peer), cls); |
387 | if (th != NULL) | ||
388 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); | ||
389 | th = NULL; | ||
387 | } | 390 | } |
388 | 391 | ||
389 | static void | 392 | static void |