From: Randy Kunkee Date: Wed, 26 Apr 2000 09:24:58 +0000 (+0000) Subject: Change count test for non-zero reference counts to check for ... non-zero. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3055 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e5de6c5b0c21b26deaf0d0da86d249a419afadc2;p=openldap Change count test for non-zero reference counts to check for ... non-zero. --- diff --git a/servers/slurpd/rq.c b/servers/slurpd/rq.c index e146047edc..1706ac0222 100644 --- a/servers/slurpd/rq.c +++ b/servers/slurpd/rq.c @@ -378,7 +378,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++; } }