diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-12-19 00:26:36 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-12-19 00:26:36 +0000 |
| commit | facd9827942c7e735b3ecafb1e4719f022ab60c8 (patch) | |
| tree | 77d4f9993635ffc61688e8a0a9fcefed7606cf3e /lib/libfetch/common.c | |
| parent | 7ff4930d735fbd00203c81117aaea35d5cbfa2e5 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/common.c')
| -rw-r--r-- | lib/libfetch/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index 936524fdd08f..224656061b5d 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -763,12 +763,12 @@ fetch_no_proxy_match(const char *host) p = no_proxy; do { /* position p at the beginning of a domain suffix */ - while (*p == ',' || isspace((int)*p)) + while (*p == ',' || isspace((unsigned char)*p)) p++; /* position q at the first separator character */ for (q = p; *q; ++q) - if (*q == ',' || isspace((int)*q)) + if (*q == ',' || isspace((unsigned char)*q)) break; d_len = q - p; |
