diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-10-25 18:35:30 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-10-25 18:35:30 -0400 |
commit | 5b28849589e7577a222685852b8601a1e7568726 (patch) | |
tree | cce74bbe5bf3c32f82c79a94c22eb29ca458c6ee /src/LYGetFile.c | |
parent | c16270eee5ad3c6a3b992a9684ff8bd60e60de96 (diff) | |
download | lynx-snapshots-5b28849589e7577a222685852b8601a1e7568726.tar.gz |
snapshot of project "lynx", label v2-8-4dev_12
Diffstat (limited to 'src/LYGetFile.c')
-rw-r--r-- | src/LYGetFile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LYGetFile.c b/src/LYGetFile.c index 9807e870..4c37ed5b 100644 --- a/src/LYGetFile.c +++ b/src/LYGetFile.c @@ -176,7 +176,7 @@ Try_Redirected_URL: FREE(temp); return(NULLFILE); } - } else if (isdigit((unsigned char)*cp)) { + } else if (isdigit(UCH(*cp))) { HTAlert(URL_PORT_BAD); FREE(temp); return(NULLFILE); @@ -1153,7 +1153,7 @@ PUBLIC int follow_link_number ARGS4( return(DO_NOTHING); } *num = atoi(p); - while ( isdigit(*p) ) + while ( isdigit(UCH(*p)) ) ++p; c = *p; /* reuse c; 0 or g or p or + or - */ switch ( c ) { @@ -1437,7 +1437,7 @@ PUBLIC BOOLEAN exec_ok ARGS3( else allowed_extra_chars = " _-:./@~$+=\t"; for (cp = linktext; *cp != '\0'; cp++) { - if (!isalnum(*cp) && !strchr(allowed_extra_chars, *cp)) { + if (!isalnum(UCH(*cp)) && !strchr(allowed_extra_chars, *cp)) { char *buf = 0; HTSprintf0(&buf, |