aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps_custommap.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-14 11:17:30 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-14 11:17:30 +0200
commit5bb2565bab0b8fa8cac263b9fb70edf3ae2278d9 (patch)
tree33d2a86abe831bfd3cd711ad7332433b35891766 /src/rps/gnunet-service-rps_custommap.c
parent97e72521285a2ff2189334cb43d0a8f385d73e4a (diff)
parent4cc09ba10da89ac32b4a40bde9abbe77bba21c78 (diff)
downloadgnunet-5bb2565bab0b8fa8cac263b9fb70edf3ae2278d9.tar.gz
gnunet-5bb2565bab0b8fa8cac263b9fb70edf3ae2278d9.zip
resolve merge conflict with peerinfo plugin move
Diffstat (limited to 'src/rps/gnunet-service-rps_custommap.c')
-rw-r--r--src/rps/gnunet-service-rps_custommap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps_custommap.c b/src/rps/gnunet-service-rps_custommap.c
index 9e003eb39..3513ff8da 100644
--- a/src/rps/gnunet-service-rps_custommap.c
+++ b/src/rps/gnunet-service-rps_custommap.c
@@ -202,6 +202,7 @@ CustomPeerMap_remove_peer (const struct CustomPeerMap *c_peer_map,
202 p = GNUNET_CONTAINER_multihashmap32_get (c_peer_map->hash_map, *index); 202 p = GNUNET_CONTAINER_multihashmap32_get (c_peer_map->hash_map, *index);
203 GNUNET_assert (NULL != p); 203 GNUNET_assert (NULL != p);
204 GNUNET_CONTAINER_multihashmap32_remove_all (c_peer_map->hash_map, *index); 204 GNUNET_CONTAINER_multihashmap32_remove_all (c_peer_map->hash_map, *index);
205 // TODO wrong peerid?
205 GNUNET_CONTAINER_multipeermap_remove_all (c_peer_map->peer_map, peer); 206 GNUNET_CONTAINER_multipeermap_remove_all (c_peer_map->peer_map, peer);
206 if (*index != CustomPeerMap_size (c_peer_map)) 207 if (*index != CustomPeerMap_size (c_peer_map))
207 { /* fill 'gap' with peer at last index */ 208 { /* fill 'gap' with peer at last index */