projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Justin Bradford's proxy support patch. Currently supports only HTTP
[u/mdw/putty]
/
telnet.c
diff --git
a/telnet.c
b/telnet.c
index
5e5fb24
..
8b3de1e
100644
(file)
--- a/
telnet.c
+++ b/
telnet.c
@@
-636,7
+636,7
@@
static char *telnet_init(char *host, int port, char **realhost, int nodelay)
sprintf(buf, "Connecting to %.100s port %d", addrbuf, port);
logevent(buf);
}
sprintf(buf, "Connecting to %.100s port %d", addrbuf, port);
logevent(buf);
}
- s =
sk_new(addr
, port, 0, 1, nodelay, &fn_table_ptr);
+ s =
new_connection(addr, *realhost
, port, 0, 1, nodelay, &fn_table_ptr);
if ((err = sk_socket_error(s)))
return err;
if ((err = sk_socket_error(s)))
return err;