gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r9225 - GNUnet/src/util/containers


From: gnunet
Subject: [GNUnet-SVN] r9225 - GNUnet/src/util/containers
Date: Tue, 20 Oct 2009 12:41:00 -0600

Author: grothoff
Date: 2009-10-20 12:41:00 -0600 (Tue, 20 Oct 2009)
New Revision: 9225

Modified:
   GNUnet/src/util/containers/multihashmap.c
Log:
backporting bugfix

Modified: GNUnet/src/util/containers/multihashmap.c
===================================================================
--- GNUnet/src/util/containers/multihashmap.c   2009-10-20 14:32:51 UTC (rev 
9224)
+++ GNUnet/src/util/containers/multihashmap.c   2009-10-20 18:41:00 UTC (rev 
9225)
@@ -264,7 +264,10 @@
         }
     }
   if (map->size / 3 > map->map_length / 4)
-    grow (map);
+    {
+      grow (map);
+      i = idx_of (map, key);
+    }
   e = GNUNET_malloc (sizeof (struct MapEntry));
   e->key = *key;
   e->value = value;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]