Re: [PATCH] http-backend: fix die recursion with custom handler
- From
Jeff King <peff@peff.net>
- Date
- May 15, 2015, 06:20 UTC
- Message-ID
- <20150515062034.GA30741@peff.net>
- In-Reply-To
- <20150514010233.GA7808@peff.net>
On Wed, May 13, 2015 at 09:02:33PM -0400, Jeff King wrote:
Show 5 quoted lines
> +static int die_webcgi_recursing(void)
> +{
> + dead++;
> + return dead > 1;
> +}Ugh, somehow I managed to introduce an off-by-one here while prettifying the code before sending. It should be "> 2" (or "dead++ > 1" to get the value before incrementing).
The series I'll post in a moment will have a fixed version.
-Peff