diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-05-27 13:31:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-05-27 13:31:46 +0000 |
commit | 994d3b094b5c426561d4a8c4061a78a47be86446 (patch) | |
tree | fcbf5e2de056a81cacfd39dacd58fcf3b805fc0a /src/fs | |
parent | 718cbd936d286ddf953fb58647e8161e4b71448f (diff) | |
download | gnunet-994d3b094b5c426561d4a8c4061a78a47be86446.tar.gz gnunet-994d3b094b5c426561d4a8c4061a78a47be86446.zip |
null out
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-service-fs_pe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c index 309270e9b..2ae50259d 100644 --- a/src/fs/gnunet-service-fs_pe.c +++ b/src/fs/gnunet-service-fs_pe.c | |||
@@ -371,7 +371,10 @@ GSF_plan_notify_peer_disconnect_ (const struct GSF_ConnectedPeer *cp) | |||
371 | if (NULL != pp->pth) | 371 | if (NULL != pp->pth) |
372 | GSF_peer_transmit_cancel_ (pp->pth); | 372 | GSF_peer_transmit_cancel_ (pp->pth); |
373 | if (GNUNET_SCHEDULER_NO_TASK != pp->task) | 373 | if (GNUNET_SCHEDULER_NO_TASK != pp->task) |
374 | GNUNET_SCHEDULER_cancel (pp->task); | 374 | { |
375 | GNUNET_SCHEDULER_cancel (pp->task); | ||
376 | pp->task = GNUNET_SCHEDULER_NO_TASK; | ||
377 | } | ||
375 | while (NULL != (rp = GNUNET_CONTAINER_heap_remove_root (pp->priority_heap))) | 378 | while (NULL != (rp = GNUNET_CONTAINER_heap_remove_root (pp->priority_heap))) |
376 | { | 379 | { |
377 | prd = GSF_pending_request_get_data_ (rp->pr); | 380 | prd = GSF_pending_request_get_data_ (rp->pr); |