From e5de6c5b0c21b26deaf0d0da86d249a419afadc2 Mon Sep 17 00:00:00 2001 From: Randy Kunkee Date: Wed, 26 Apr 2000 09:24:58 +0000 Subject: [PATCH] Change count test for non-zero reference counts to check for ... non-zero. --- servers/slurpd/rq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } } -- 2.39.5