diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-14 17:27:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-14 17:27:25 +0000 |
commit | 17ca3db3e5a8a9a7e1f4f7f9c9116ed45d0afa2c (patch) | |
tree | 24238c07514df2d24db77b0846bc4a46b30e21c6 /src/transport/test_transport_api_unreliability.c | |
parent | e23104bfbced162402a84fdeddf67e32b188e2ea (diff) | |
download | gnunet-17ca3db3e5a8a9a7e1f4f7f9c9116ed45d0afa2c.tar.gz gnunet-17ca3db3e5a8a9a7e1f4f7f9c9116ed45d0afa2c.zip |
fix
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index 0bc85b174..7f31edffd 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c | |||
@@ -466,7 +466,10 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
466 | GNUNET_i2s (peer), cls); | 466 | GNUNET_i2s (peer), cls); |
467 | #endif | 467 | #endif |
468 | if (th_p2 != NULL) | 468 | if (th_p2 != NULL) |
469 | GNUNET_TRANSPORT_notify_transmit_ready_cancel(th_p2); | 469 | { |
470 | GNUNET_TRANSPORT_notify_transmit_ready_cancel (th_p2); | ||
471 | th_p2 = NULL; | ||
472 | } | ||
470 | } | 473 | } |
471 | 474 | ||
472 | 475 | ||