mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-07 14:25:40 -05:00
Localise user_input to SSH connection layers.
Now that the SSH backend's user_input bufchain is no longer needed for handling userpass input, it doesn't have to be awkwardly shared between all the packet protocol layers any more. So we can turn the want_user_input and got_user_input methods of PacketProtocolLayer into methods of ConnectionLayer, and then only the two connection layers have to bother implementing them, or store a pointer to the bufchain they read from.
This commit is contained in:
@ -682,7 +682,6 @@ void ssh_ppl_replace(PacketProtocolLayer *old, PacketProtocolLayer *new)
|
||||
new->bpp = old->bpp;
|
||||
ssh_ppl_setup_queues(new, old->in_pq, old->out_pq);
|
||||
new->selfptr = old->selfptr;
|
||||
new->user_input = old->user_input;
|
||||
new->seat = old->seat;
|
||||
new->ssh = old->ssh;
|
||||
|
||||
|
Reference in New Issue
Block a user