commit 7103ceb031c14761d31d8f343e8978c6fec248d6
parent 78439d25f8b2f6f2289e9f4e4400e0f7cdb5fa70
Author: rsc <devnull@localhost>
Date: Fri, 12 Jan 2007 16:02:09 +0000
Bug fix fix - remove debugging implementation of needoutflush.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/cmd/sam/mesg.c b/src/cmd/sam/mesg.c
@@ -826,7 +826,7 @@ outsend(void)
int
needoutflush(void)
{
- return 1;
+ return outmsg >= outdata+DATASIZE;
}
void
@@ -835,6 +835,7 @@ outflush(void)
if(outmsg == outdata)
return;
outbuffered = 0;
+ /* flow control */
outT0(Hack);
waitack = 1;
do