mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Fix == != typo
This commit is contained in:
parent
c1a31ac9a2
commit
18fad04e69
@ -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 New Issue
Block a user