From: Howard Chu Date: Wed, 3 Jan 2007 02:10:30 +0000 (+0000) Subject: #if out unnecessary code in prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~274 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d5a7e252b3bcaade35934ab4c499956a420ac088;p=openldap #if out unnecessary code in prev commit --- 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;