tBug fix fix - remove debugging implementation of needoutflush. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7103ceb031c14761d31d8f343e8978c6fec248d6
(DIR) parent 78439d25f8b2f6f2289e9f4e4400e0f7cdb5fa70
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 12 Jan 2007 16:02:09 +0000
Bug fix fix - remove debugging implementation of needoutflush.
Diffstat:
M src/cmd/sam/mesg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/sam/mesg.c b/src/cmd/sam/mesg.c
t@@ -826,7 +826,7 @@ outsend(void)
int
needoutflush(void)
{
- return 1;
+ return outmsg >= outdata+DATASIZE;
}
void
t@@ -835,6 +835,7 @@ outflush(void)
if(outmsg == outdata)
return;
outbuffered = 0;
+ /* flow control */
outT0(Hack);
waitack = 1;
do