diff options
author | Darren Tucker <dtucker@zip.com.au> | 2012-09-06 13:19:05 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2012-09-06 13:19:05 +0200 |
commit | 66cb0e0733782c2f6773abd9fd1d87f5efef6c27 (patch) | |
tree | 88b17abef9f6bb7276066ea811fe0acbe09ec7d7 /mux.c | |
parent | - jmc@cvs.openbsd.org 2012/08/15 18:25:50 (diff) | |
download | openssh-66cb0e0733782c2f6773abd9fd1d87f5efef6c27.tar.xz openssh-66cb0e0733782c2f6773abd9fd1d87f5efef6c27.zip |
- 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 @@ -/* $OpenBSD: mux.c,v 1.36 2012/07/06 01:37:21 djm Exp $ */ +/* $OpenBSD: mux.c,v 1.37 2012/08/17 00:45:45 dtucker Exp $ */ /* * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> * @@ -188,7 +188,7 @@ static const struct { /* Cleanup callback fired on closure of mux slave _session_ channel */ /* ARGSUSED */ -static void +void mux_master_session_cleanup_cb(int cid, void *unused) { Channel *cc, *c = channel_by_id(cid); |