mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
clarify no limits in (internal) searches
This commit is contained in:
parent
0c49718e82
commit
4c685bfd1e
1 changed files with 2 additions and 2 deletions
|
|
@ -124,11 +124,11 @@ meta_back_search( Operation *op, SlapReply *rs )
|
||||||
ldap_set_option( lsc->ld, LDAP_OPT_DEREF,
|
ldap_set_option( lsc->ld, LDAP_OPT_DEREF,
|
||||||
( void * )&op->ors_deref);
|
( void * )&op->ors_deref);
|
||||||
}
|
}
|
||||||
if ( op->ors_tlimit != -1 ) {
|
if ( op->ors_tlimit != SLAP_NO_LIMIT ) {
|
||||||
ldap_set_option( lsc->ld, LDAP_OPT_TIMELIMIT,
|
ldap_set_option( lsc->ld, LDAP_OPT_TIMELIMIT,
|
||||||
( void * )&op->ors_tlimit);
|
( void * )&op->ors_tlimit);
|
||||||
}
|
}
|
||||||
if ( op->ors_slimit != -1 ) {
|
if ( op->ors_slimit != SLAP_NO_LIMIT ) {
|
||||||
ldap_set_option( lsc->ld, LDAP_OPT_SIZELIMIT,
|
ldap_set_option( lsc->ld, LDAP_OPT_SIZELIMIT,
|
||||||
( void * )&op->ors_slimit);
|
( void * )&op->ors_slimit);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue