Split ChanType closehandler() and cleanup() so that dbclient doesn't

lose exit status messages
This commit is contained in:
Matt Johnston
2018-11-14 22:57:56 +08:00
parent ffde4a524f
commit fe992bf4ea
10 changed files with 58 additions and 31 deletions

View File

@@ -40,6 +40,7 @@ const struct ChanType cli_chan_tcpremote = {
newtcpforwarded,
NULL,
NULL,
NULL,
NULL
};
#endif
@@ -55,6 +56,7 @@ static const struct ChanType cli_chan_tcplocal = {
tcp_prio_inithandler,
NULL,
NULL,
NULL,
NULL
};
#endif