summaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cadet_client.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-08-31 17:58:59 +0000
committerBart Polot <bart@net.in.tum.de>2014-08-31 17:58:59 +0000
commit6e0e7e09552af05a229cad2686d73e2d2ca18925 (patch)
tree7354be44ebb18add75ab9a25f830b180b055325f /src/fs/gnunet-service-fs_cadet_client.c
parentd7b72789762fb1dcc93e6ba7a77ab18278cb1a3f (diff)
- remove duplicate/incorrect API call
Diffstat (limited to 'src/fs/gnunet-service-fs_cadet_client.c')
-rw-r--r--src/fs/gnunet-service-fs_cadet_client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs_cadet_client.c b/src/fs/gnunet-service-fs_cadet_client.c
index cfef128fb..f0905e6c3 100644
--- a/src/fs/gnunet-service-fs_cadet_client.c
+++ b/src/fs/gnunet-service-fs_cadet_client.c
@@ -223,11 +223,11 @@ reset_cadet (struct CadetHandle *mh)
if (NULL != channel)
{
/* Avoid loop */
- if ( NULL != mh->wh)
- {
- GNUNET_CADET_cancel_notify(mh->wh);
- mh->wh = NULL;
- }
+ if (NULL != mh->wh)
+ {
+ GNUNET_CADET_notify_transmit_ready_cancel (mh->wh);
+ mh->wh = NULL;
+ }
GNUNET_CADET_channel_destroy (channel);
}
GNUNET_CONTAINER_multihashmap_iterate (mh->waiting_map,