mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Change count test for non-zero reference counts to check for ... non-zero.
This commit is contained in:
parent
75467fb340
commit
e5de6c5b0c
@ -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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user