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

Pass an error message through to sshfwd_unclean_close.

We have access to one at every call site, so there's really no reason
not to send it through to ssh.c to be logged.

[originally from svn r10038]
This commit is contained in:
Simon Tatham
2013-09-08 07:14:56 +00:00
parent 1472aa2a26
commit 8e7b0d0e4b
4 changed files with 7 additions and 6 deletions

2
ssh.h
View File

@ -11,7 +11,7 @@ struct ssh_channel;
extern int sshfwd_write(struct ssh_channel *c, char *, int);
extern void sshfwd_write_eof(struct ssh_channel *c);
extern void sshfwd_unclean_close(struct ssh_channel *c);
extern void sshfwd_unclean_close(struct ssh_channel *c, const char *err);
extern void sshfwd_unthrottle(struct ssh_channel *c, int bufsize);
/*