Fixed log mechanism

To avoid echoing only log what is received from tty device.
This commit is contained in:
Martin Lund 2016-05-20 19:51:12 +02:00
parent 8ddabb1908
commit 66d5cf5456

View file

@ -352,10 +352,6 @@ int connect_tty(void)
if (status < 0)
warning_printf("Could not write to tty device");
/* Write to log */
if (option.log)
log_write(output_char);
/* Update transmit statistics */
tx_total++;