~kris/9p

9hist

70165f7f78642253da8168d2a57b81bd6caf5bb6 — David du Colombier 36 years ago 828f365
Plan 9 from Bell Labs 1990-08-09
1 files changed, 2 insertions(+), 1 deletions(-)

M gnot/sturp.c
M gnot/sturp.c => gnot/sturp.c +2 -1
@@ 11,7 11,7 @@ enum {
	Nmask=		0x7,
};

#define DPRINT /*if(q->flag&QDEBUG)kprint*/
#define DPRINT if(q->flag&QDEBUG)kprint

typedef struct Urp	Urp;



@@ 947,6 947,7 @@ todo(void *arg)
	return (up->state&INITING)
	? NOW>up->timer					/* time to INIT1 */
	: ((up->unacked!=up->next && NOW>up->timer)	/* time to ENQ */
	  || WINDOW(up)>0 && up->next!=up->nxb
	  || (!QFULL(up->rq->next) && up->iseq!=(up->lastecho&7))); /* time to ECHO */
}
static void