INN commit: trunk/innd (chan.c)
INN Commit
Russ_Allbery at isc.org
Mon Aug 6 17:31:19 UTC 2007
Date: Monday, August 6, 2007 @ 10:31:19
Author: eagle
Revision: 7636
Helps to allocate the same amount of memory we claim we're going to
allocate.
Modified:
trunk/innd/chan.c
--------+
chan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: chan.c
===================================================================
--- chan.c 2007-08-06 10:25:54 UTC (rev 7635)
+++ chan.c 2007-08-06 17:31:19 UTC (rev 7636)
@@ -148,7 +148,7 @@
AF_INET6 remconn). If we end up with more somehow, we'll resize in
CHANcreate. */
channels.prioritized_size = 3;
- channels.prioritized = xmalloc(2 * sizeof(CHANNEL *));
+ channels.prioritized = xmalloc(3 * sizeof(CHANNEL *));
for (i = 0; i < 3; i++)
channels.prioritized[i] = NULL;
}
More information about the inn-committers
mailing list