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:
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user