mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 11:31:00 -05:00
Extra inline helpers seat_{stdout,stderr}_pl.
These take a ptrlen in place of separate buffer and length arguments. Switched over to them in lots of places.
This commit is contained in:
@ -479,7 +479,7 @@ static void ssh2_userauth_process_queue(PacketProtocolLayer *ppl)
|
||||
(flags & (FLAG_VERBOSE | FLAG_INTERACTIVE))) {
|
||||
while (bufchain_size(&s->banner) > 0) {
|
||||
ptrlen data = bufchain_prefix(&s->banner);
|
||||
seat_stderr(s->ppl.seat, data.ptr, data.len);
|
||||
seat_stderr_pl(s->ppl.seat, data);
|
||||
bufchain_consume(&s->banner, data.len);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user