mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
do not prompt for next page in case of search failure
This commit is contained in:
parent
6b45e32da3
commit
b641adad8c
@ -837,7 +837,7 @@ getNextPage:
|
||||
}
|
||||
|
||||
#ifdef LDAP_CONTROL_PAGEDRESULTS
|
||||
if ( ( pageSize != 0 ) && ( morePagedResults != 0 ) ) {
|
||||
if ( ( rc == LDAP_SUCCESS ) && ( pageSize != 0 ) && ( morePagedResults != 0 ) ) {
|
||||
char buf[6];
|
||||
int i, moreEntries, tmpSize;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user