summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_timeout.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-09-30 11:00:24 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-09-30 11:00:24 +0000
commitf85e367ddecd6f43c880cb2e266af8139472cc2b (patch)
tree70ab563519cd49bbc0ce9635afd92f9c95d50d31 /src/transport/test_transport_api_timeout.c
parentb3aea6e39f918228baed3a1ee9ba4aa6d6a222b7 (diff)
fixing #1801
Diffstat (limited to 'src/transport/test_transport_api_timeout.c')
-rw-r--r--src/transport/test_transport_api_timeout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_timeout.c b/src/transport/test_transport_api_timeout.c
index cec60e989..0124889ce 100644
--- a/src/transport/test_transport_api_timeout.c
+++ b/src/transport/test_transport_api_timeout.c
@@ -188,6 +188,9 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
GNUNET_i2s (peer));
disconnects++;
}
+ if (th != NULL)
+ GNUNET_TRANSPORT_notify_transmit_ready_cancel (th);
+ th = NULL;
}
static void