Additional change for prev commit

This commit is contained in:
Howard Chu 2011-10-04 23:45:33 -07:00
parent 34adb86929
commit df47eb24cd

View File

@ -452,7 +452,7 @@ int bdb_index_recrun(
if ( id == 0 )
return 0;
for (i=base; i<bdb->bi_nattrs; i+=slap_tool_thread_max) {
for (i=base; i<bdb->bi_nattrs; i+=slap_tool_thread_max-1) {
ir = ir0 + i;
if ( !ir->ai ) continue;
while (( al = ir->attrs )) {