mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Fix obvious braino in tempseat_output.
I'd added a data length to the 'type' field of output_chunk instead of the 'size' field. Caused an assertion failure when I tried a simple SSH proxy operation on Windows just now, because the output_chunks and the output bufchain didn't match up, and no wonder. The mystery is how it hasn't been consistently failing like that since September!
This commit is contained in:
parent
7eb7d5e2e9
commit
4e93a2c1b8
@ -71,7 +71,7 @@ static size_t tempseat_output(Seat *seat, SeatOutputType type,
|
||||
ts->outchunk_head = new_chunk;
|
||||
ts->outchunk_tail = new_chunk;
|
||||
}
|
||||
ts->outchunk_tail->type += len;
|
||||
ts->outchunk_tail->size += len;
|
||||
|
||||
return bufchain_size(&ts->output);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user