From: Shawn O. Pearce Date: Tue, 24 Nov 2009 22:43:31 GMT Subject: Re: [PATCH v3] remote-curl.c: fix rpc_out() Message-ID: <20091124224331.GK11919@spearce.org> In-Reply-To: <20091124103130.e1bdf09f.rctay89@gmail.com> Tay Ray Chuan wrote: > 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 Acked-by: Shawn O. Pearce Thanks for the fix, I can't believe I made this typo. :-( > - if (max < avail); > + if (max < avail) > avail = max; -- Shawn.