mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-11 01:12:54 -05:00
do not prompt for next page in case of search failure
This commit is contained in:
parent
6b45e32da3
commit
b641adad8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue