diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-28 17:50:37 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-28 17:50:37 +0000 |
commit | ed0d16a7b876ade483db24877a68ff8ac2cd28e3 (patch) | |
tree | c170f077e452f1ae0b7bd9c564efc766790b1727 /usr.bin/mg | |
parent | f8d04b8558479f481f380a7c4c76e010048394f5 (diff) |
Fix bug I introduced in previous commit.
Diffstat (limited to 'usr.bin/mg')
-rw-r--r-- | usr.bin/mg/ttyio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/ttyio.c b/usr.bin/mg/ttyio.c index 996c23d8895..c59dd3486bf 100644 --- a/usr.bin/mg/ttyio.c +++ b/usr.bin/mg/ttyio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ttyio.c,v 1.20 2002/03/27 20:47:14 millert Exp $ */ +/* $OpenBSD: ttyio.c,v 1.21 2002/03/28 17:50:36 millert Exp $ */ /* * POSIX terminal I/O. @@ -148,6 +148,7 @@ ttflush() buf += written; nobuf -= written; } + nobuf = 0; } /* |