aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam')
-rw-r--r--src/cmd/sam/mesg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/sam/mesg.c b/src/cmd/sam/mesg.c
index 52983703..87e82a14 100644
--- 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