~kris/9p

9hist

c30868be5ebff6635b960bb8734ffd92d27d476b — David du Colombier 23 years ago 7c2f709
Plan 9 from Bell Labs 2003-02-22
1 files changed, 12 insertions(+), 0 deletions(-)

M port/devcap.c
M port/devcap.c => port/devcap.c +12 -0
@@ 105,6 105,18 @@ capopen(Chan *c, int omode)
	return c;
}

static char*
hashstr(uchar *hash)
{
	static char buf[256];
	int i;

	for(i = 0; i < Hashlen; i++)
		sprint(buf+2*i, "%2.2ux", hash[i]);
	buf[2*Hashlen] = 0;
	return buf;
}

static Caphash*
remcap(uchar *hash)
{