diff options
author | Darren Tucker <dtucker@zip.com.au> | 2012-09-06 21:19:05 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2012-09-06 21:19:05 +1000 |
commit | 66cb0e0733782c2f6773abd9fd1d87f5efef6c27 (patch) | |
tree | 88b17abef9f6bb7276066ea811fe0acbe09ec7d7 /mux.c | |
parent | 3ee50c5d9f95cd40df403cf1a91fdaffefa21cc5 (diff) |
- dtucker@cvs.openbsd.org 2012/08/17 00:45:45
[clientloop.c clientloop.h mux.c]
Force a clean shutdown of ControlMaster client sessions when the ~. escape
sequence is used. This means that ~. should now work in mux clients even
if the server is no longer responding. Found by tedu, ok djm.
Diffstat (limited to 'mux.c')
-rw-r--r-- | mux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mux.c,v 1.36 2012/07/06 01:37:21 djm Exp $ */ | 1 | /* $OpenBSD: mux.c,v 1.37 2012/08/17 00:45:45 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -188,7 +188,7 @@ static const struct { | |||
188 | 188 | ||
189 | /* Cleanup callback fired on closure of mux slave _session_ channel */ | 189 | /* Cleanup callback fired on closure of mux slave _session_ channel */ |
190 | /* ARGSUSED */ | 190 | /* ARGSUSED */ |
191 | static void | 191 | void |
192 | mux_master_session_cleanup_cb(int cid, void *unused) | 192 | mux_master_session_cleanup_cb(int cid, void *unused) |
193 | { | 193 | { |
194 | Channel *cc, *c = channel_by_id(cid); | 194 | Channel *cc, *c = channel_by_id(cid); |