diff svr-agentfwd.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 592a18dac250
children
line wrap: on
line diff
--- a/svr-agentfwd.c	Mon Oct 11 15:16:54 2021 +0800
+++ b/svr-agentfwd.c	Mon Oct 11 15:42:14 2021 +0800
@@ -186,7 +186,6 @@
 }
 
 static const struct ChanType chan_svr_agent = {
-	0, /* sepfds */
 	"[email protected]",
 	NULL,
 	NULL,