mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
Cast char' arguments to ctype.h functions to
unsigned char'.
These functions require their arguments to be in the range of `unsigned char'.
This commit is contained in:
parent
73db912500
commit
246e269acc
@ -207,7 +207,8 @@ get_add_entry( char *filename, LDAPMod ***mods )
|
||||
if ( !( value = strchr( line, ':' ))) break;
|
||||
|
||||
*value++ = '\0';
|
||||
while ( *value && isspace( *value )) value++;
|
||||
while ( *value && isspace( (unsigned char) *value ))
|
||||
value++;
|
||||
|
||||
addmodifyop( mods, LDAP_MOD_ADD, line, value, strlen( value ));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user