Include refcnt > 0, which makes reporting of number of records to process

more correct (still doesn't account for records that won't be processed
due to a restart).
This commit is contained in:
Randy Kunkee 2000-04-26 01:05:44 +00:00
parent 5b508b89c5
commit 5e34ff9584

View file

@ -377,7 +377,7 @@ Rq_getcount(
for ( re = rq->rq_gethead( rq ); re != NULL;
re = rq->rq_getnext( re )) {
if ( type == RQ_COUNT_NZRC ) {
if ( re->re_getrefcnt( re ) > 1 ) {
if ( re->re_getrefcnt( re ) > 0 ) {
count++;
}
}