~kris/9p

9hist

5d7017712c943bc815e4c6952af4557c54ade67e — David du Colombier 33 years ago a6a174e
Plan 9 from Bell Labs 1993-04-27
3 files changed, 4 insertions(+), 1 deletions(-)

M pc/ether509.c
M port/auth.c
M port/tcpoutput.c
M pc/ether509.c => pc/ether509.c +1 -1
@@ 331,7 331,7 @@ transmit(Ctlr *ctlr)
		 * we need 4 bytes for the preamble.
		 */
		len = ROUNDUP(tb->len, 4);
		if(len > ins(ctlr->card.io+TxFreeBytes)+4){
		if(len+4 > ins(ctlr->card.io+TxFreeBytes)){
			COMMAND(ctlr, SetTxAvailable, len);
			break;
		}

M port/auth.c => port/auth.c +2 -0
@@ 150,6 150,7 @@ sysfsession(ulong *arg)
			poperror();
			if(convM2S(buf, &f, n) == 0){
				unlock(&s->send);
print("error converting %d bytes %ux %ux %ux\n", n, buf[0], buf[1], buf[2]);
				error(Emountrpc);
			}
			switch(f.type){


@@ 163,6 164,7 @@ sysfsession(ulong *arg)
				error(f.ename);
			default:
				unlock(&s->send);
print("error using %d bytes %ux %ux %ux\n", n, buf[0], buf[1], buf[2]);
				error(Emountrpc);
			}
		}

M port/tcpoutput.c => port/tcpoutput.c +1 -0
@@ 184,6 184,7 @@ tcptimeout(void *arg)
	default:
		tcb->backoff++;
		if (tcb->backoff >= MAXBACKOFF && tcb->snd.wnd > 0) {
print("tcp connection timed out\n"); 
			localclose(s, Etimedout);
			break;
		}