mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
returning LDAP return code
This commit is contained in:
parent
286986c4e8
commit
3e6f9f4ee5
1 changed files with 3 additions and 3 deletions
|
|
@ -100,7 +100,7 @@ ldbm_back_delete(
|
|||
send_ldap_error( op, rs, LDAP_INSUFFICIENT_ACCESS,
|
||||
"no write access to entry" );
|
||||
|
||||
rc = 1;
|
||||
rc = LDAP_INSUFFICIENT_ACCESS;
|
||||
goto return_results;
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ ldbm_back_delete(
|
|||
|
||||
if ( rs->sr_ref ) ber_bvarray_free( rs->sr_ref );
|
||||
|
||||
rc = 1;
|
||||
rc = LDAP_REFERRAL;
|
||||
goto return_results;
|
||||
}
|
||||
|
||||
|
|
@ -261,7 +261,7 @@ ldbm_back_delete(
|
|||
|
||||
rs->sr_err = LDAP_SUCCESS;
|
||||
send_ldap_result( op, rs );
|
||||
rc = 0;
|
||||
rc = LDAP_SUCCESS;
|
||||
|
||||
return_results:;
|
||||
if( p != NULL ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue