diff svr-x11fwd.c @ 1829:a7cc3332d8ab

Replace ChanType.sepfds with Channel.bidir_fd This handles the case where a svrchansess has separate FDs for nopty, but a single FD for pty mode. The use of sepfds was also previously incorrect for X11 and agent forwarding
author Matt Johnston <matt@ucc.asn.au>
date Mon, 11 Oct 2021 15:42:14 +0800
parents 79eef94ccea9
children
line wrap: on
line diff
--- a/svr-x11fwd.c	Mon Oct 11 15:16:54 2021 +0800
+++ b/svr-x11fwd.c	Mon Oct 11 15:42:14 2021 +0800
@@ -211,7 +211,6 @@
 }
 
 static const struct ChanType chan_x11 = {
-	0, /* sepfds */
 	"x11",
 	x11_inithandler, /* inithandler */
 	NULL, /* checkclose */