]> git.sur5r.net Git - openldap/commitdiff
Change count test for non-zero reference counts to check for ... non-zero.
authorRandy Kunkee <kunkee@openldap.org>
Wed, 26 Apr 2000 09:24:58 +0000 (09:24 +0000)
committerRandy Kunkee <kunkee@openldap.org>
Wed, 26 Apr 2000 09:24:58 +0000 (09:24 +0000)
servers/slurpd/rq.c

index e146047edc5eb109383fb632b3c613ed55f7928d..1706ac0222a78db7f308cd7fa4762517109f9563 100644 (file)
@@ -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++;
                }
            }