summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-06-06 08:11:40 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-06-06 08:11:40 +1000
commitea8342c248ad6c0a4fe1a70de133f954973bd2b2 (patch)
treecb631673729078e481759f3df99c41d3b34122ca /clientloop.c
parent5d12b8f05d79ba89d0807910a664fa80f6f3bf8c (diff)
- dtucker@cvs.openbsd.org 2013/06/02 23:36:29
[clientloop.h clientloop.c mux.c] No need for the mux cleanup callback to be visible so restore it to static and call it through the detach_user function pointer. ok djm@
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clientloop.c b/clientloop.c
index 4b071eb91..6a2963583 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.251 2013/06/01 13:15:51 dtucker Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.252 2013/06/02 23:36:29 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1109,8 +1109,8 @@ process_escapes(Channel *c, Buffer *bin, Buffer *bout, Buffer *berr,
1109 if (c && c->ctl_chan != -1) { 1109 if (c && c->ctl_chan != -1) {
1110 chan_read_failed(c); 1110 chan_read_failed(c);
1111 chan_write_failed(c); 1111 chan_write_failed(c);
1112 mux_master_session_cleanup_cb(c->self, 1112 if (c->detach_user)
1113 NULL); 1113 c->detach_user(c->self, NULL);
1114 return 0; 1114 return 0;
1115 } else 1115 } else
1116 quit_pending = 1; 1116 quit_pending = 1;