bump to 2.6.22.1
[openwrt.git] / package / dropbear / patches / 160-tty_close.patch
1 Index: dropbear-0.49/common-channel.c
2 ===================================================================
3 --- dropbear-0.49.orig/common-channel.c 2007-06-04 13:21:39.354993800 +0200
4 +++ dropbear-0.49/common-channel.c 2007-06-04 13:21:40.676792856 +0200
5 @@ -310,10 +310,10 @@
6 send_msg_channel_eof(channel);
7 }
8
9 - /* And if we can't receive any more data from them either, close up */
10 + /* And if we can't receive any more data from them either, close up (server only) */
11 if (!channel->sent_close
12 && channel->readfd == FD_CLOSED
13 - && (ERRFD_IS_WRITE(channel) || channel->errfd == FD_CLOSED)
14 + && !ERRFD_IS_WRITE(channel)
15 && !write_pending(channel)) {
16 TRACE(("sending close, readfd is closed"))
17 send_msg_channel_close(channel);
This page took 0.043409 seconds and 5 git commands to generate.