mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Cast isspace() arg to unsigned char. (Update to previous change.)
This commit is contained in:
parent
a42367ae3a
commit
61d71d95b9
1 changed files with 2 additions and 2 deletions
|
|
@ -1476,7 +1476,7 @@ str2result(
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
while ( isspace( c[ 0 ] ) ) c++;
|
while ( isspace( (unsigned char) c[ 0 ] ) ) c++;
|
||||||
if ( c[ 0 ] == '\0' ) {
|
if ( c[ 0 ] == '\0' ) {
|
||||||
Debug( LDAP_DEBUG_ANY, "str2result (%s) missing or empty value\n",
|
Debug( LDAP_DEBUG_ANY, "str2result (%s) missing or empty value\n",
|
||||||
s, 0, 0 );
|
s, 0, 0 );
|
||||||
|
|
@ -1492,7 +1492,7 @@ str2result(
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
while ( isspace( next[ 0 ] ) ) next++;
|
while ( isspace( (unsigned char) next[ 0 ] ) ) next++;
|
||||||
if ( next[ 0 ] != '\0' ) {
|
if ( next[ 0 ] != '\0' ) {
|
||||||
Debug( LDAP_DEBUG_ANY, "str2result (%s) extra cruft after value\n",
|
Debug( LDAP_DEBUG_ANY, "str2result (%s) extra cruft after value\n",
|
||||||
s, 0, 0 );
|
s, 0, 0 );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue