diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-03-11 16:58:27 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-03-11 16:58:27 +0000 |
commit | e08013aaf1632c195b5aa6c0c749359b4e4a5478 (patch) | |
tree | 6318eb2c56ff76730708a4791804842c63cf1f81 /src/dv/gnunet-service-dv.c | |
parent | c29e935ceeeac7aeb542b23f83468f50a93c315f (diff) |
changing heap remove node api to not pass heap; more fs hacking
git-svn-id: https://gnunet.org/svn/gnunet@14630 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/dv/gnunet-service-dv.c')
-rw-r--r-- | src/dv/gnunet-service-dv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dv/gnunet-service-dv.c b/src/dv/gnunet-service-dv.c index 900c8f5d7a..a6fe9762b3 100644 --- a/src/dv/gnunet-service-dv.c +++ b/src/dv/gnunet-service-dv.c @@ -2010,8 +2010,8 @@ distant_neighbor_free (struct DistantNeighbor *referee) GNUNET_CONTAINER_DLL_remove (referrer->referee_head, referrer->referee_tail, referee); } - GNUNET_CONTAINER_heap_remove_node (neighbor_max_heap, referee->max_loc); - GNUNET_CONTAINER_heap_remove_node (neighbor_min_heap, referee->min_loc); + GNUNET_CONTAINER_heap_remove_node (referee->max_loc); + GNUNET_CONTAINER_heap_remove_node (referee->min_loc); GNUNET_CONTAINER_multihashmap_remove_all (extended_neighbors, &referee->identity.hashPubKey); GNUNET_free_non_null (referee->pkey); |