~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unix makefile now uses -O2, which massively cuts down key exchange
[sgt/putty]
/
proxy.c
diff --git
a/proxy.c
b/proxy.c
index
cda7511
..
2ea0bc8
100644
(file)
--- a/
proxy.c
+++ b/
proxy.c
@@
-269,7
+269,8
@@
static int proxy_for_destination (SockAddr addr, char *hostname, int port,
if (addr) {
sk_getaddr(addr, hostip, 64);
hostip_len = strlen(hostip);
- }
+ } else
+ hostip_len = 0; /* placate gcc; shouldn't be required */
hostname_len = strlen(hostname);