commit 0fa6e0cfbf480077fadc0cb5f3fd8d1ebad5b00e
parent 8773b4b2383644cdbfed598bd9596921233b9e62
Author: rsc <devnull@localhost>
Date: Fri, 6 Aug 2004 12:44:41 +0000
Make comment match code.
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
@@ -1013,10 +1013,11 @@ consread(void)
n = p-buf;
/*
- * We've been echoing, so make sure the terminal isn't
+ * If we've been echoing, make sure the terminal isn't
* while we do the write. This screws up if someone
- * else tries to turn on echo at the same time (we'll turn it
- * off again after the write), but that's not too likely.
+ * else tries to turn off echo at the same time we do
+ * (we'll turn it on again after the write), but that's not
+ * too likely.
*/
s = setecho(sfd, 0);
if(write(rcfd, buf, n) < 0)