projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port forwarding module now passes backend handles around properly.
[u/mdw/putty]
/
psftp.c
diff --git
a/psftp.c
b/psftp.c
index
a278260
..
07045f2
100644
(file)
--- a/
psftp.c
+++ b/
psftp.c
@@
-32,6
+32,8
@@
static int do_sftp_init(void);
*/
char *pwd, *homedir;
*/
char *pwd, *homedir;
+static Backend *back;
+static void *backhandle;
/* ----------------------------------------------------------------------
* Higher-level helper functions used in commands.
/* ----------------------------------------------------------------------
* Higher-level helper functions used in commands.
@@
-1484,7
+1486,7
@@
void connection_fatal(char *fmt, ...)
cleanup_exit(1);
}
cleanup_exit(1);
}
-void ldisc_send(char *buf, int len, int interactive)
+void ldisc_send(
void *handle,
char *buf, int len, int interactive)
{
/*
* This is only here because of the calls to ldisc_send(NULL,
{
/*
* This is only here because of the calls to ldisc_send(NULL,