]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/shell-backends/shellutil.c
Added note about fixing oc_schema_check (ITS#204).
[openldap] / servers / slapd / shell-backends / shellutil.c
index 59d43cb7073fe07c7d17ff9a17c421d4bd3780d9..8fb7ddea44e30a4dbf66d34087b78797b34f0e34 100644 (file)
@@ -198,7 +198,7 @@ parse_input( FILE *ifp, FILE *ofp, struct ldop *op )
                while ( args != NULL ) {
                    if (( p = strchr( args, ' ' )) != NULL ) {
                        *p++ = '\0';
-                       while ( isspace( *p )) {
+                       while ( isspace( (unsigned char) *p )) {
                            ++p;
                        }
                    }
@@ -233,7 +233,7 @@ find_input_tag( char **linep )      /* linep is set to start of args */
 
     for ( i = 0; ips[ i ].ip_type != 0; ++i ) {
        if ( strncasecmp( *linep, ips[ i ].ip_tag, p - *linep ) == 0 ) {
-           while ( isspace( *(++p) )) {
+           while ( isspace( (unsigned char) *(++p) )) {
                ;
            }
            *linep = p;