From: Johannes Schindelin Date: Tue, 29 Nov 2005 16:40:02 GMT Subject: Re: [PATCH] Fix typo in http-push.c Message-ID: In-Reply-To: <20051129133537.GA490@pitr.home.jan> Hi, On Tue, 29 Nov 2005, Jan Andres wrote: > [...] > > + lock->token = xmalloc(strlen(ctx->cdata + 16) + 1); > > so as to account for the trailing NUL? Of course! That's why I wanted to write "strlen(ctx->cdata + 15)", but I fsck'ed up. Sorry. Ciao, Dscho