diff options
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index c675e18a0..7b7ec2d35 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c | |||
@@ -416,6 +416,9 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
416 | { | 416 | { |
417 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' disconnected (%p)!\n", | 417 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' disconnected (%p)!\n", |
418 | GNUNET_i2s (peer), cls); | 418 | GNUNET_i2s (peer), cls); |
419 | if (th != NULL) | ||
420 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); | ||
421 | th = NULL; | ||
419 | } | 422 | } |
420 | 423 | ||
421 | static void | 424 | static void |