comparison 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
comparison
equal deleted inserted replaced
1828:3f0ac6bc58a1 1829:a7cc3332d8ab
184 } 184 }
185 185
186 } 186 }
187 187
188 static const struct ChanType chan_svr_agent = { 188 static const struct ChanType chan_svr_agent = {
189 0, /* sepfds */
190 "[email protected]", 189 "[email protected]",
191 NULL, 190 NULL,
192 NULL, 191 NULL,
193 NULL, 192 NULL,
194 NULL, 193 NULL,