mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 05:30:07 -05:00
Fix == != typo
This commit is contained in:
parent
c1a31ac9a2
commit
18fad04e69
1 changed files with 2 additions and 2 deletions
|
|
@ -252,14 +252,14 @@ ldap_parse_sasl_bind_result(
|
|||
return LDAP_PARAM_ERROR;
|
||||
}
|
||||
|
||||
if(servercredp != NULL) {
|
||||
if( servercredp != NULL ) {
|
||||
if( ld->ld_version < LDAP_VERSION2 ) {
|
||||
return LDAP_NOT_SUPPORTED;
|
||||
}
|
||||
*servercredp = NULL;
|
||||
}
|
||||
|
||||
if( res->lm_msgtype == LDAP_RES_BIND ) {
|
||||
if( res->lm_msgtype != LDAP_RES_BIND ) {
|
||||
ld->ld_errno = LDAP_PARAM_ERROR;
|
||||
return ld->ld_errno;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue