1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Pass an Interactor to platform_new_connection.

This will mean that platform-specific proxy types will also be able to
set themselves up as child Interactors and prompt the user
interactively for passwords and the like.

NFC: nothing uses the new parameter yet.
This commit is contained in:
Simon Tatham
2021-12-21 13:35:51 +00:00
parent 4944b4ddd5
commit 48b7ef21a1
5 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@
Socket *platform_new_connection(SockAddr *addr, const char *hostname,
int port, int privport,
int oobinline, int nodelay, int keepalive,
Plug *plug, Conf *conf)
Plug *plug, Conf *conf, Interactor *itr)
{
return NULL;
}

View File

@ -486,7 +486,7 @@ Socket *new_connection(SockAddr *addr, const char *hostname,
if ((sret = platform_new_connection(addr, hostname, port, privport,
oobinline, nodelay, keepalive,
plug, conf)) != NULL)
plug, conf, itr)) != NULL)
return sret;
ps = snew(ProxySocket);