1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-08 23:03:43 -05:00

There's no real need for portfwd.c to reference `cfg' directly, when

it only needs one item from it and that can easily be passed in from
the call site in ssh.c.

[originally from svn r2564]
This commit is contained in:
Simon Tatham
2003-01-12 14:56:19 +00:00
parent 6a2c0436de
commit 5ecbac2441
3 changed files with 5 additions and 5 deletions

2
ssh.h
View File

@ -258,7 +258,7 @@ void ssh_send_port_open(void *channel, char *hostname, int port, char *org);
/* Exports from portfwd.c */
extern char *pfd_newconnect(Socket * s, char *hostname, int port, void *c);
extern char *pfd_addforward(char *desthost, int destport, char *srcaddr,
int port, void *backhandle);
int port, void *backhandle, int acceptall);
extern void pfd_close(Socket s);
extern int pfd_send(Socket s, char *data, int len);
extern void pfd_confirm(Socket s);