Commit 15296d4c authored by Niels Möller's avatar Niels Möller
Browse files

* src/tcpforward.c (do_tcpip_eof): Removed channel close logic,

now in channel.c, channel_of_handler.

Rev: src/tcpforward.c:1.58
parent 0da3b3b9
......@@ -152,9 +152,12 @@ do_tcpip_eof(struct ssh_channel *s)
werror("do_tcpip_eof, shutdown() failed, (errno = %i): %z\n",
errno, STRERROR(errno));
#if 0
/* Moved to channel.c:channel_eof_handler. */
if ( (s->flags & CHANNEL_SENT_EOF)
&& (s->flags & CHANNEL_CLOSE_AT_EOF))
channel_close(s);
#endif
}
/* NOTE: Adds the socket to the channel's resource list */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment