mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-12 07:13:41 -05:00
Changed (!strcmp(...)==0) to (strcmp(...)==0); obviously
wrong. Fix from adamson@andrew.cmu.edu.
This commit is contained in:
parent
2e3d9d7737
commit
30522f7437
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue