[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11102 - gnunet/src/hostlist
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11102 - gnunet/src/hostlist |
Date: |
Wed, 28 Apr 2010 16:29:14 +0200 |
Author: wachs
Date: 2010-04-28 16:29:14 +0200 (Wed, 28 Apr 2010)
New Revision: 11102
Modified:
gnunet/src/hostlist/hostlist-server.c
Log:
Modified: gnunet/src/hostlist/hostlist-server.c
===================================================================
--- gnunet/src/hostlist/hostlist-server.c 2010-04-28 14:25:43 UTC (rev
11101)
+++ gnunet/src/hostlist/hostlist-server.c 2010-04-28 14:29:14 UTC (rev
11102)
@@ -228,7 +228,7 @@
"HELLO",
GNUNET_i2s (peer));
#endif
- if (old + s >= MAX_BYTES_PER_HOSTLISTS)
+ if ( (old + s >= GNUNET_MAX_MALLOC_CHECKED) || (old + s >=
MAX_BYTES_PER_HOSTLISTS) )
{
GNUNET_STATISTICS_update (stats,
gettext_noop("bytes not included in hostlist
(size limit)"),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11102 - gnunet/src/hostlist,
gnunet <=