From 276098f816a9188c711f51ace9a92df54997b791 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 24 Jun 2007 18:56:06 +0000 Subject: [PATCH] fix auth problem --- cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu.c b/cpu.c index 666d493..ad5bdfe 100644 --- a/cpu.c +++ b/cpu.c @@ -623,7 +623,7 @@ p9any(int fd) auth.id = 0; convA2M(&auth, tbuf+TICKETLEN, t.key); - if(write(fd, tbuf+1, TICKETLEN+AUTHENTLEN) != TICKETLEN+AUTHENTLEN) + if(write(fd, tbuf, TICKETLEN+AUTHENTLEN) != TICKETLEN+AUTHENTLEN) fatal(1, "cannot send ticket and authenticator back in p9sk1"); if((n=readn(fd, tbuf, AUTHENTLEN)) != AUTHENTLEN ||