gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9217 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r9217 - gnunet/src/util
Date: Tue, 20 Oct 2009 02:05:36 -0600

Author: grothoff
Date: 2009-10-20 02:05:36 -0600 (Tue, 20 Oct 2009)
New Revision: 9217

Modified:
   gnunet/src/util/container_multihashmap.c
Log:
fix

Modified: gnunet/src/util/container_multihashmap.c
===================================================================
--- gnunet/src/util/container_multihashmap.c    2009-10-20 07:27:12 UTC (rev 
9216)
+++ gnunet/src/util/container_multihashmap.c    2009-10-20 08:05:36 UTC (rev 
9217)
@@ -403,7 +403,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]