aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_multihashmap.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2013-08-12 14:50:20 +0000
committerFlorian Dold <florian.dold@gmail.com>2013-08-12 14:50:20 +0000
commitfc8f7f91c13c6d6697c729c3f2d6b72a8fec1369 (patch)
treefcd8f89fad8710adae3edf235be46edc0854d6e8 /src/util/container_multihashmap.c
parent860c615d8efd0ca2cf8ba24a527b94ae6fc96918 (diff)
downloadgnunet-fc8f7f91c13c6d6697c729c3f2d6b72a8fec1369.tar.gz
gnunet-fc8f7f91c13c6d6697c729c3f2d6b72a8fec1369.zip
- test for external iterator
- const added to result parameter of 'next'
Diffstat (limited to 'src/util/container_multihashmap.c')
-rw-r--r--src/util/container_multihashmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/container_multihashmap.c b/src/util/container_multihashmap.c
index bd22732be..1cd699dff 100644
--- a/src/util/container_multihashmap.c
+++ b/src/util/container_multihashmap.c
@@ -838,7 +838,7 @@ GNUNET_CONTAINER_multihashmap_iterator_create (const struct GNUNET_CONTAINER_Mul
838 */ 838 */
839int 839int
840GNUNET_CONTAINER_multihashmap_iterator_next (struct GNUNET_CONTAINER_MultiHashMapIterator *iter, 840GNUNET_CONTAINER_multihashmap_iterator_next (struct GNUNET_CONTAINER_MultiHashMapIterator *iter,
841 struct GNUNET_HashCode *key, void **value) 841 struct GNUNET_HashCode *key, const void **value)
842{ 842{
843 /* make sure nobody modified the map */ 843 /* make sure nobody modified the map */
844 GNUNET_assert (iter->modification_counter == iter->map->modification_counter); 844 GNUNET_assert (iter->modification_counter == iter->map->modification_counter);