mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
Pass the Ssh structure to portfwd.c with a tag.
Again, safer than using a 'void *'.
This commit is contained in:
3
ssh.c
3
ssh.c
@ -11293,9 +11293,8 @@ static void ssh_special(void *handle, Telnet_Special code)
|
||||
}
|
||||
}
|
||||
|
||||
void *new_sock_channel(void *handle, struct PortForwarding *pf)
|
||||
void *new_sock_channel(Ssh ssh, struct PortForwarding *pf)
|
||||
{
|
||||
Ssh ssh = (Ssh) handle;
|
||||
struct ssh_channel *c;
|
||||
c = snew(struct ssh_channel);
|
||||
|
||||
|
Reference in New Issue
Block a user