mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Fixed log mechanism
To avoid echoing only log what is received from tty device.
This commit is contained in:
parent
8ddabb1908
commit
66d5cf5456
1 changed files with 0 additions and 4 deletions
|
|
@ -352,10 +352,6 @@ int connect_tty(void)
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
warning_printf("Could not write to tty device");
|
warning_printf("Could not write to tty device");
|
||||||
|
|
||||||
/* Write to log */
|
|
||||||
if (option.log)
|
|
||||||
log_write(output_char);
|
|
||||||
|
|
||||||
/* Update transmit statistics */
|
/* Update transmit statistics */
|
||||||
tx_total++;
|
tx_total++;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue