View | Details | Raw Unified | Return to bug 2033
Collapse All | Expand All

(-)clientloop.c (+2 lines)
Lines 1037-1042 process_escapes(Channel *c, Buffer *bin, Link Here
1037
				if (c && c->ctl_chan != -1) {
1037
				if (c && c->ctl_chan != -1) {
1038
					chan_read_failed(c);
1038
					chan_read_failed(c);
1039
					chan_write_failed(c);
1039
					chan_write_failed(c);
1040
					mux_master_session_cleanup_cb(c->self,
1041
					    NULL);
1040
					return 0;
1042
					return 0;
1041
				} else
1043
				} else
1042
					quit_pending = 1;
1044
					quit_pending = 1;
(-)clientloop.h (+1 lines)
Lines 76-79 void muxserver_listen(void); Link Here
76
void	muxclient(const char *);
76
void	muxclient(const char *);
77
void	mux_exit_message(Channel *, int);
77
void	mux_exit_message(Channel *, int);
78
void	mux_tty_alloc_failed(Channel *);
78
void	mux_tty_alloc_failed(Channel *);
79
void	mux_master_session_cleanup_cb(int, void *);
79
80
(-)mux.c (-1 / +1 lines)
Lines 171-177 static const struct { Link Here
171
171
172
/* Cleanup callback fired on closure of mux slave _session_ channel */
172
/* Cleanup callback fired on closure of mux slave _session_ channel */
173
/* ARGSUSED */
173
/* ARGSUSED */
174
static void
174
void
175
mux_master_session_cleanup_cb(int cid, void *unused)
175
mux_master_session_cleanup_cb(int cid, void *unused)
176
{
176
{
177
	Channel *cc, *c = channel_by_id(cid);
177
	Channel *cc, *c = channel_by_id(cid);

Return to bug 2033