gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r10806 - gnunet/src/util
Date: Mon, 5 Apr 2010 22:45:54 +0200

Author: grothoff
Date: 2010-04-05 22:45:53 +0200 (Mon, 05 Apr 2010)
New Revision: 10806

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

Modified: gnunet/src/util/container_multihashmap.c
===================================================================
--- gnunet/src/util/container_multihashmap.c    2010-04-05 20:34:16 UTC (rev 
10805)
+++ gnunet/src/util/container_multihashmap.c    2010-04-05 20:45:53 UTC (rev 
10806)
@@ -85,6 +85,7 @@
 {
   struct GNUNET_CONTAINER_MultiHashMap *ret;
 
+  GNUNET_assert (len > 0);
   ret = GNUNET_malloc (sizeof (struct GNUNET_CONTAINER_MultiHashMap));
   ret->map = GNUNET_malloc (len * sizeof (struct MapEntry *));
   ret->map_length = len;





reply via email to

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