Skip to content
Snippets Groups Projects
Commit 246e269a authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Cast `char' arguments to ctype.h functions to `unsigned char'.

These functions require their arguments to be in the range of `unsigned char'.
parent 73db9125
No related branches found
No related tags found
No related merge requests found
......@@ -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 ));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment