mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
#if out unnecessary code in prev commit
This commit is contained in:
parent
2c1f91dd0f
commit
d5a7e252b3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user