projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53cfea
)
fix rps service: put peer id into structure once
author
Julius Bünger
<buenger@mytum.de>
Thu, 26 Jul 2018 15:05:55 +0000
(17:05 +0200)
committer
Julius Bünger
<buenger@mytum.de>
Thu, 26 Jul 2018 15:05:55 +0000
(17:05 +0200)
src/rps/gnunet-service-rps_custommap.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps_custommap.c
b/src/rps/gnunet-service-rps_custommap.c
index 42507655bb52b8cd3f92305648df806e9d7d1d5a..9e003eb399bf33ce91fbda4e1434ad1e6b6c984a 100644
(file)
--- 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;
}