mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Use TOUPPER macro.
This commit is contained in:
parent
8777f818dc
commit
24a6a91cac
@ -847,8 +847,6 @@ char *s )
|
||||
char *p;
|
||||
|
||||
for ( p = s; ( p != NULL ) && ( *p != '\0' ); p++ ) {
|
||||
if ( islower( (unsigned char) *p )) {
|
||||
*p = toupper( (unsigned char) *p );
|
||||
}
|
||||
*p = TOUPPER( (unsigned char) *p );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user