mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix shadow variable
This commit is contained in:
parent
9cafcbcab5
commit
e1fe232254
1 changed files with 1 additions and 1 deletions
|
|
@ -2246,7 +2246,7 @@ void forward_to_tty(int fd, char output_char)
|
||||||
}
|
}
|
||||||
else if (option.input_mode == INPUT_MODE_NORMAL)
|
else if (option.input_mode == INPUT_MODE_NORMAL)
|
||||||
{
|
{
|
||||||
ssize_t status = tty_write(device_fd, &output_char, 1);
|
status = tty_write(device_fd, &output_char, 1);
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
{
|
{
|
||||||
tio_warning_printf("Could not write to tty device");
|
tio_warning_printf("Could not write to tty device");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue