comparison svr-x11fwd.c @ 1625:79eef94ccea9

Split ChanType closehandler() and cleanup() so that dbclient doesn't lose exit status messages
author Matt Johnston <matt@ucc.asn.au>
date Wed, 14 Nov 2018 22:57:56 +0800
parents 58a74cb829b8
children a7cc3332d8ab
comparison
equal deleted inserted replaced
1624:1f3fb83b0524 1625:79eef94ccea9
214 0, /* sepfds */ 214 0, /* sepfds */
215 "x11", 215 "x11",
216 x11_inithandler, /* inithandler */ 216 x11_inithandler, /* inithandler */
217 NULL, /* checkclose */ 217 NULL, /* checkclose */
218 NULL, /* reqhandler */ 218 NULL, /* reqhandler */
219 NULL /* closehandler */ 219 NULL, /* closehandler */
220 NULL /* cleanup */
220 }; 221 };
221 222
222 223
223 static int send_msg_channel_open_x11(int fd, const struct sockaddr_in* addr) { 224 static int send_msg_channel_open_x11(int fd, const struct sockaddr_in* addr) {
224 225