diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clientloop.c b/clientloop.c index 6a2963583..7c1f8abba 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.252 2013/06/02 23:36:29 dtucker Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.253 2013/06/07 15:37:52 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 |
@@ -1111,6 +1111,9 @@ process_escapes(Channel *c, Buffer *bin, Buffer *bout, Buffer *berr, | |||
1111 | chan_write_failed(c); | 1111 | chan_write_failed(c); |
1112 | if (c->detach_user) | 1112 | if (c->detach_user) |
1113 | c->detach_user(c->self, NULL); | 1113 | c->detach_user(c->self, NULL); |
1114 | c->type = SSH_CHANNEL_ABANDONED; | ||
1115 | buffer_clear(&c->input); | ||
1116 | chan_ibuf_empty(c); | ||
1114 | return 0; | 1117 | return 0; |
1115 | } else | 1118 | } else |
1116 | quit_pending = 1; | 1119 | quit_pending = 1; |