Re: [PATCH v3] remote-curl.c: fix rpc_out()
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.