The unified diff between revisions [d2f4cea9..] and [16dd0414..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'common-channel.c'

#
#
# patch "common-channel.c"
#  from [042b7ee7f93478dc6c268b6ee5b3e948273e8e90]
#    to [4a2be4a42ac2962c24fa5131ad1f6154baf703ee]
#
============================================================
--- common-channel.c	042b7ee7f93478dc6c268b6ee5b3e948273e8e90
+++ common-channel.c	4a2be4a42ac2962c24fa5131ad1f6154baf703ee
@@ -296,7 +296,7 @@ static void check_close(struct Channel *
 			TRACE(("send data readfd"))
 			send_msg_channel_data(channel, 0);
 		}
-		if (ERRFD_IS_READ(channel) && channel->readfd >= 0
+		if (ERRFD_IS_READ(channel) && channel->errfd >= 0
 			&& channel->transwindow > 0) {
 			TRACE(("send data errfd"))
 			send_msg_channel_data(channel, 1);