mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Changed (!strcmp(...)==0) to (strcmp(...)==0); obviously
wrong. Fix from adamson@andrew.cmu.edu.
This commit is contained in:
parent
2e3d9d7737
commit
30522f7437
@ -570,7 +570,7 @@ ldap_pvt_sasl_getmechs ( LDAP *ld, LDAP_CONST char *desired, char **pmechlist )
|
||||
rc = LDAP_INAPPROPRIATE_AUTH;
|
||||
|
||||
for ( p = values; *p != NULL; p++ ) {
|
||||
if ( !strcmp( *p, desired ) == 0 ) {
|
||||
if ( strcmp( *p, desired ) == 0 ) {
|
||||
rc = LDAP_SUCCESS;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user