mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix return code (prevents clean usage of back-ldap for internal searchs)
This commit is contained in:
parent
8801a302fa
commit
5873048347
@ -882,7 +882,7 @@ retry:;
|
||||
ldap_memfree( text );
|
||||
}
|
||||
rs->sr_text = NULL;
|
||||
return( ERR_OK( rs->sr_err ) ? 0 : -1 );
|
||||
return( ERR_OK( rs->sr_err ) ? LDAP_SUCCESS : rs->sr_err );
|
||||
}
|
||||
|
||||
/* return true if bound, false if failed */
|
||||
|
Loading…
Reference in New Issue
Block a user