aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_multihashmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/container_multihashmap.c')
-rw-r--r--src/util/container_multihashmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/container_multihashmap.c b/src/util/container_multihashmap.c
index 1cd699dff..9ef8f74a4 100644
--- a/src/util/container_multihashmap.c
+++ b/src/util/container_multihashmap.c
@@ -840,7 +840,7 @@ int
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, const void **value) 841 struct GNUNET_HashCode *key, const void **value)
842{ 842{
843 /* make sure nobody modified the map */ 843 /* make sure the map has not been modified */
844 GNUNET_assert (iter->modification_counter == iter->map->modification_counter); 844 GNUNET_assert (iter->modification_counter == iter->map->modification_counter);
845 845
846 /* look for the next entry, skipping empty buckets */ 846 /* look for the next entry, skipping empty buckets */
@@ -883,7 +883,7 @@ GNUNET_CONTAINER_multihashmap_iterator_next (struct GNUNET_CONTAINER_MultiHashMa
883 * @param iter the iterator to destroy 883 * @param iter the iterator to destroy
884 */ 884 */
885void 885void
886GNUNET_CONTAINER_multihashmap_enumerator_destroy (struct GNUNET_CONTAINER_MultiHashMapIterator *iter) 886GNUNET_CONTAINER_multihashmap_iterator_destroy (struct GNUNET_CONTAINER_MultiHashMapIterator *iter)
887{ 887{
888 GNUNET_free (iter); 888 GNUNET_free (iter);
889} 889}