Skip to content
Snippets Groups Projects
Commit 30522f74 authored by Luke Howard's avatar Luke Howard
Browse files

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

wrong. Fix from adamson@andrew.cmu.edu.
parent 2e3d9d77
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment