mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Add missing pq_pop when handling SSH_MSG_DISCONNECT.
Somehow I managed to leave that line out in both SSH-1 and SSH-2's functions for handling DISCONNECT, IGNORE and DEBUG, and in both cases, only for DISCONNECT. Oops.
This commit is contained in:
@ -132,6 +132,7 @@ int ssh1_common_filter_queue(PacketProtocolLayer *ppl)
|
||||
ssh_remote_error(ppl->ssh,
|
||||
"Server sent disconnect message:\n\"%.*s\"",
|
||||
PTRLEN_PRINTF(msg));
|
||||
pq_pop(ppl->in_pq);
|
||||
return TRUE; /* indicate that we've been freed */
|
||||
|
||||
case SSH1_MSG_DEBUG:
|
||||
|
Reference in New Issue
Block a user