1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Unix makefile now uses -O2, which massively cuts down key exchange

time. This gives rise to a whole bunch of spare warnings, one or two
of which might have been actual bugs; now all resolved.

[originally from svn r3134]
This commit is contained in:
Simon Tatham
2003-04-23 13:48:09 +00:00
parent dd055ce280
commit 041dcfd83d
8 changed files with 68 additions and 61 deletions

View File

@ -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);