Changed (!strcmp(...)==0) to (strcmp(...)==0); obviously

wrong. Fix from adamson@andrew.cmu.edu.
This commit is contained in:
Luke Howard 2000-02-01 23:34:16 +00:00
parent 2e3d9d7737
commit 30522f7437

View File

@ -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;
}