From: Julius Bünger Date: Thu, 26 Jul 2018 15:05:55 +0000 (+0200) Subject: fix rps service: put peer id into structure once X-Git-Tag: v0.11.0~322^2~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e5bce382b3c4b1534da95032cc7f01e2c58ae387;p=oweals%2Fgnunet.git fix rps service: put peer id into structure once --- 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, GNUNET_assert (NULL != last_index); GNUNET_assert (CustomPeerMap_size (c_peer_map) == *last_index); GNUNET_CONTAINER_multihashmap32_put (c_peer_map->hash_map, *index, last_p, - GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST); + GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY); GNUNET_CONTAINER_multihashmap32_remove_all (c_peer_map->hash_map, *last_index); *last_index = *index; }