projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3091999
)
Fix an erroneous "case" fallthrough in ssh1_msg_channel_close, which was
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 19 Aug 2012 11:35:26 +0000
(11:35 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 19 Aug 2012 11:35:26 +0000
(11:35 +0000)
causing assertion failures when closing X11 channels in SSH-1. Also fix
another pasto.
git-svn-id: svn://svn.tartarus.org/sgt/putty@9608
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
1178b30
..
1ef80b0
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-4959,13
+4959,16
@@
static void ssh1_msg_channel_close(Ssh ssh, struct Packet *pktin)
x11_send_eof(c->u.x11.s);
else
send_close = TRUE;
+ break;
case CHAN_SOCKDATA:
if (c->u.pfd.s)
-
x11
_send_eof(c->u.pfd.s);
+
pfd
_send_eof(c->u.pfd.s);
else
send_close = TRUE;
+ break;
case CHAN_AGENT:
send_close = TRUE;
+ break;
}
if (send_close && !(c->closes & CLOSES_SENT_EOF)) {