~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Big sprawling dialog-box commit covering all sorts of things.
[sgt/putty]
/
proxy.c
diff --git
a/proxy.c
b/proxy.c
index
0a61741
..
f334249
100644
(file)
--- a/
proxy.c
+++ b/
proxy.c
@@
-281,7
+281,7
@@
static int proxy_for_destination (SockAddr addr, char *hostname, int port,
while (exclude_list[s]) {
while (exclude_list[s] &&
while (exclude_list[s]) {
while (exclude_list[s] &&
- (isspace(exclude_list[s]) ||
+ (isspace(
(unsigned char)
exclude_list[s]) ||
exclude_list[s] == ',')) s++;
if (!exclude_list[s]) break;
exclude_list[s] == ',')) s++;
if (!exclude_list[s]) break;
@@
-289,7
+289,7
@@
static int proxy_for_destination (SockAddr addr, char *hostname, int port,
e = s;
while (exclude_list[e] &&
e = s;
while (exclude_list[e] &&
- (isalnum(exclude_list[e]) ||
+ (isalnum(
(unsigned char)
exclude_list[e]) ||
exclude_list[e] == '-' ||
exclude_list[e] == '.' ||
exclude_list[e] == '*')) e++;
exclude_list[e] == '-' ||
exclude_list[e] == '.' ||
exclude_list[e] == '*')) e++;
@@
-325,7
+325,7
@@
static int proxy_for_destination (SockAddr addr, char *hostname, int port,
/* Make sure we really have reached the next comma or end-of-string */
while (exclude_list[s] &&
/* Make sure we really have reached the next comma or end-of-string */
while (exclude_list[s] &&
- !isspace(exclude_list[s]) &&
+ !isspace(
(unsigned char)
exclude_list[s]) &&
exclude_list[s] != ',') s++;
}
exclude_list[s] != ',') s++;
}