Tay Ray Chuan [off-list ref] 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 <redacted>
Acked-by: Shawn O. Pearce <redacted>
Thanks for the fix, I can't believe I made this typo. :-(
- if (max < avail);
+ if (max < avail)
avail = max;
--
Shawn.