git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix typo in http-push.c

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 29, 2005, 16:40 UTC
Message-ID
<Pine.LNX.4.63.0511291739090.12136@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20051129133537.GA490@pitr.home.jan>
Hi,
On Tue, 29 Nov 2005, Jan Andres wrote:
Show 5 quoted lines
> [...]
>
> +				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

Previous: Jan Andres
Message 6 of 6 in “Fix typo in http-push.c”
  1. Fix typo in http-push.cJan Andres, Nov 29, 2005
  2. Junio C HamanoNov 29, 2005
  3. Johannes SchindelinNov 29, 2005
  4. Jan AndresNov 29, 2005
  5. Fix typo in http-push.c, take twoJan Andres, Nov 29, 2005
  6. Johannes SchindelinNov 29, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.