From 30522f7437397c206050386f40ffc16023c7382a Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Tue, 1 Feb 2000 23:34:16 +0000 Subject: [PATCH] Changed (!strcmp(...)==0) to (strcmp(...)==0); obviously wrong. Fix from adamson@andrew.cmu.edu. --- libraries/libldap/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/sasl.c b/libraries/libldap/sasl.c index 7b8a8ac6cc..601385fc59 100644 --- a/libraries/libldap/sasl.c +++ b/libraries/libldap/sasl.c @@ -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; } -- 2.39.5