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

Re: [PATCH v3] remote-curl.c: fix rpc_out()

From
Shawn O. Pearce <spearce@spearce.org>
Date
Nov 24, 2009, 22:43 UTC
Message-ID
<20091124224331.GK11919@spearce.org>
In-Reply-To
<20091124103130.e1bdf09f.rctay89@gmail.com>
Tay Ray Chuan <rctay89@gmail.com> wrote:
Show 7 quoted lines
> Remove the extraneous semicolon (';') at the end of the if statement
> that allowed the code in its block to execute regardless of the
> condition.
> 
> This fixes pushing to a smart http backend with chunked encoding.
> 
> Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Thanks for the fix, I can't believe I made this typo.  :-(
> -	if (max < avail);
> +	if (max < avail)
>  		avail = max;
-- 
Shawn.
Previous: Tay Ray Chuan
Message 6 of 6 in “http fixes”
  1. 0/2 http fixesTay Ray Chuan, Nov 23, 2009
  2. 0/2 http fixesTay Ray Chuan, Nov 24, 2009
  3. 1/2 Do curl option disabling before enabling new optionsTay Ray Chuan, Nov 24, 2009
  4. 2/2 remote-curl.c: fix rpc_out()Tay Ray Chuan, Nov 24, 2009
  5. remote-curl.c: fix rpc_out()Tay Ray Chuan, Nov 24, 2009
  6. Shawn O. PearceNov 24, 2009

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.