mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
ITS#5263 fix return code from parse_sasl_bind_result()
This commit is contained in:
parent
707a09b704
commit
f02d481426
1 changed files with 2 additions and 2 deletions
|
|
@ -201,7 +201,7 @@ ldap_sasl_bind_s(
|
|||
rc = ldap_parse_sasl_bind_result( ld, result, &scredp, 0 );
|
||||
}
|
||||
|
||||
if ( rc != LDAP_SUCCESS && rc != LDAP_SASL_BIND_IN_PROGRESS ) {
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
ldap_msgfree( result );
|
||||
return( rc );
|
||||
}
|
||||
|
|
@ -347,7 +347,7 @@ ldap_parse_sasl_bind_result(
|
|||
ldap_msgfree( res );
|
||||
}
|
||||
|
||||
return( ld->ld_errno );
|
||||
return( LDAP_SUCCESS );
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue