~kris/9p

9hist

f0c62e9de5fb25dfb4963a2e541ec6ac91bf2c7a — David du Colombier 35 years ago 1d1f694
Plan 9 from Bell Labs 1991-02-07
1 files changed, 8 insertions(+), 2 deletions(-)

M port/devnonet.c
M port/devnonet.c => port/devnonet.c +8 -2
@@ 538,9 538,15 @@ static int
windowopen(void *a)
{
	Noconv *cp;
	int i;

	cp = (Noconv *)a;
	return MSUCC(cp->next) != cp->first;	
	i = cp->next - cp->first;
	if(i>=0 && i<32)	
		return 1;
	if(i<0 && Nnomsg+i<32)
		return 1;
	return 0;	
}
static void
nooput(Queue *q, Block *bp)


@@ 1413,7 1419,7 @@ loop:
			/*
			 *  get the acknowledges out
			 */
			while(cp->afirst != cp->anext){
			while(cp->afirst!=cp->anext && cp->rq->next->len<16*1024){
				DPRINT("sending ack %d\n", cp->ack[cp->afirst]);
				nosendctl(cp, 0, 0);
			}