* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field
correctly when "need_nl".
This commit is contained in:
@ -233,6 +233,7 @@ fhandler_pty_master::process_slave_output (char *buf, size_t len, int pktmode_on
|
||||
don't check again here. */
|
||||
buf[0] = '\n';
|
||||
need_nl = 0;
|
||||
rc = 1;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user