X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8ce96e264f20fdc5c64b438498313dc91f644209..7539afa289e54c8e1d1b691bcc14c01e29453d80:/ssh.c diff --git a/ssh.c b/ssh.c index a21bbc7b..6d5ebd44 100644 --- a/ssh.c +++ b/ssh.c @@ -6999,7 +6999,7 @@ static void ssh2_msg_channel_close(Ssh ssh, struct Packet *pktin) /* * Send outgoing EOF. */ - sshfwd_write_eof(ssh->mainchan); + sshfwd_write_eof(c); } /*