diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index de5079c4f..07426ca73 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c | |||
@@ -362,7 +362,10 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
362 | GNUNET_i2s (peer), cls); | 362 | GNUNET_i2s (peer), cls); |
363 | #endif | 363 | #endif |
364 | if (th_p2 != NULL) | 364 | if (th_p2 != NULL) |
365 | GNUNET_TRANSPORT_notify_transmit_ready_cancel(th_p2); | 365 | { |
366 | GNUNET_TRANSPORT_notify_transmit_ready_cancel(th_p2); | ||
367 | th-p2 = NULL; | ||
368 | } | ||
366 | } | 369 | } |
367 | 370 | ||
368 | 371 | ||