mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
cleanup
This commit is contained in:
parent
9129a2f7ee
commit
52cf1f5f0a
@ -209,9 +209,7 @@ static const struct pw_scheme *get_scheme(
|
||||
bv.bv_val = (char *) scheme;
|
||||
|
||||
for( pws=pw_schemes; pws; pws=pws->next ) {
|
||||
if( bv.bv_len != pws->s.name.bv_len )
|
||||
continue;
|
||||
if( strncasecmp(bv.bv_val, pws->s.name.bv_val, bv.bv_len ) == 0 ) {
|
||||
if ( ber_bvstrcasecmp(&bv, &pws->s.name ) == 0 ) {
|
||||
return &(pws->s);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user