mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +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 );
|
ldap_memfree( text );
|
||||||
}
|
}
|
||||||
rs->sr_text = NULL;
|
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 */
|
/* return true if bound, false if failed */
|
||||||
|
Loading…
Reference in New Issue
Block a user