dovecot-1.1: DEBUG: Make sure mempool's initial size is large en...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Apr 30 17:05:23 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/f5af6ce6376f
changeset: 7466:f5af6ce6376f
user: Timo Sirainen <tss at iki.fi>
date: Wed Apr 30 17:05:19 2008 +0300
description:
DEBUG: Make sure mempool's initial size is large enough to account for
extra sentries.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/mempool-alloconly.c | 2 +-
diffs (12 lines):
diff -r 6c6af734f284 -r f5af6ce6376f src/lib/mempool-alloconly.c
--- a/src/lib/mempool-alloconly.c Fri Apr 25 03:23:49 2008 +0300
+++ b/src/lib/mempool-alloconly.c Wed Apr 30 17:05:19 2008 +0300
@@ -126,7 +126,7 @@ pool_t pool_alloconly_create(const char
SIZEOF_POOLBLOCK;
#ifdef DEBUG
- min_alloc += MEM_ALIGN(strlen(name) + 1);
+ min_alloc += MEM_ALIGN(strlen(name) + 1 + SENTRY_COUNT);
#endif
/* create a fake alloconly_pool so we can call block_alloc() */
More information about the dovecot-cvs
mailing list