From: Howard Chu Date: Wed, 5 Oct 2011 06:45:33 +0000 (-0700) Subject: Additional change for prev commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df47eb24cd43258595b7f806dfaad8560c34b835;p=openldap Additional change for prev commit --- diff --git a/servers/slapd/back-bdb/index.c b/servers/slapd/back-bdb/index.c index e77ac397f1..e5d494f0f1 100644 --- a/servers/slapd/back-bdb/index.c +++ b/servers/slapd/back-bdb/index.c @@ -452,7 +452,7 @@ int bdb_index_recrun( if ( id == 0 ) return 0; - for (i=base; ibi_nattrs; i+=slap_tool_thread_max) { + for (i=base; ibi_nattrs; i+=slap_tool_thread_max-1) { ir = ir0 + i; if ( !ir->ai ) continue; while (( al = ir->attrs )) {