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, 08:24 UTC
Message-ID
<Pine.LNX.4.63.0511290923390.16927@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20051129005154.GA3076@pitr.home.jan>
Hi,
On Tue, 29 Nov 2005, Jan Andres wrote:
> -				lock->token = xmalloc(strlen(ctx->cdata - 15));
> +				lock->token = xmalloc(strlen(ctx->cdata) - 15);
>  				strcpy(lock->token, ctx->cdata + 16);
Why not
+				lock->token = xmalloc(strlen(ctx->cdata + 16));

Ciao, Dscho

Previous: Junio C HamanoNext: Jan Andres
Message 3 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.