aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-07-26 17:05:55 +0200
committerJulius Bünger <buenger@mytum.de>2018-07-26 17:05:55 +0200
commite5bce382b3c4b1534da95032cc7f01e2c58ae387 (patch)
treeaf12c3c5c8dc38630f353e26dd167044b0dafd8a /src
parenta53cfea7ff589a4710671da427186648551008d5 (diff)
downloadgnunet-e5bce382b3c4b1534da95032cc7f01e2c58ae387.tar.gz
gnunet-e5bce382b3c4b1534da95032cc7f01e2c58ae387.zip
fix rps service: put peer id into structure once
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps_custommap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps_custommap.c b/src/rps/gnunet-service-rps_custommap.c
index 42507655b..9e003eb39 100644
--- a/src/rps/gnunet-service-rps_custommap.c
+++ b/src/rps/gnunet-service-rps_custommap.c
@@ -213,7 +213,7 @@ CustomPeerMap_remove_peer (const struct CustomPeerMap *c_peer_map,
213 GNUNET_assert (NULL != last_index); 213 GNUNET_assert (NULL != last_index);
214 GNUNET_assert (CustomPeerMap_size (c_peer_map) == *last_index); 214 GNUNET_assert (CustomPeerMap_size (c_peer_map) == *last_index);
215 GNUNET_CONTAINER_multihashmap32_put (c_peer_map->hash_map, *index, last_p, 215 GNUNET_CONTAINER_multihashmap32_put (c_peer_map->hash_map, *index, last_p,
216 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST); 216 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY);
217 GNUNET_CONTAINER_multihashmap32_remove_all (c_peer_map->hash_map, *last_index); 217 GNUNET_CONTAINER_multihashmap32_remove_all (c_peer_map->hash_map, *last_index);
218 *last_index = *index; 218 *last_index = *index;
219 } 219 }