From d5a7e252b3bcaade35934ab4c499956a420ac088 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 3 Jan 2007 02:10:30 +0000 Subject: [PATCH] #if out unnecessary code in prev commit --- servers/slapd/entry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index 220d7a22f5..ca2296fee6 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -500,10 +500,12 @@ entry_prealloc( int num ) if (!num) return 0; +#if STRIDE_FACTOR > 1 /* Round up to our stride factor */ num += STRIDE_FACTOR-1; num /= STRIDE_FACTOR; num *= STRIDE_FACTOR; +#endif s = ch_calloc( 1, sizeof(slap_list) + num * sizeof(Entry)); s->next = entry_chunks; -- 2.39.5