39 lines
1 KiB
Text
39 lines
1 KiB
Text
|
--- ntpd/ntp_control.c.orig Mon Apr 9 13:19:56 2001
|
||
|
+++ ntpd/ntp_control.c Wed Apr 11 20:53:28 2001
|
||
|
@@ -1823,7 +1823,7 @@
|
||
|
* Delete leading commas and white space
|
||
|
*/
|
||
|
while (reqpt < reqend && (*reqpt == ',' ||
|
||
|
- isspace((int)*reqpt)))
|
||
|
+ isspace((unsigned char)*reqpt)))
|
||
|
reqpt++;
|
||
|
if (reqpt >= reqend)
|
||
|
return (0);
|
||
|
@@ -1846,7 +1846,7 @@
|
||
|
tp++;
|
||
|
}
|
||
|
if ((*tp == '\0') || (*tp == '=')) {
|
||
|
- while (cp < reqend && isspace((int)*cp))
|
||
|
+ while (cp < reqend && isspace((unsigned char)*cp))
|
||
|
cp++;
|
||
|
if (cp == reqend || *cp == ',') {
|
||
|
buf[0] = '\0';
|
||
|
@@ -1859,7 +1859,7 @@
|
||
|
if (*cp == '=') {
|
||
|
cp++;
|
||
|
tp = buf;
|
||
|
- while (cp < reqend && isspace((int)*cp))
|
||
|
+ while (cp < reqend && isspace((unsigned char)*cp))
|
||
|
cp++;
|
||
|
while (cp < reqend && *cp != ',') {
|
||
|
*tp++ = *cp++;
|
||
|
@@ -1870,7 +1870,7 @@
|
||
|
cp++;
|
||
|
while (tp > buf) {
|
||
|
*tp-- = '\0';
|
||
|
- if (!isspace((int)(*tp)))
|
||
|
+ if (!isspace((unsigned char)(*tp)))
|
||
|
break;
|
||
|
}
|
||
|
reqpt = cp;
|