mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
Change count test for non-zero reference counts to check for ... non-zero.
This commit is contained in:
parent
75467fb340
commit
e5de6c5b0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue