* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field

correctly when "need_nl".
This commit is contained in:
Christopher Faylor
2000-08-03 13:02:09 +00:00
parent 47026c0785
commit 14323f6a97
2 changed files with 6 additions and 0 deletions

View File

@ -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;
}