Thread (6 messages) flat view 6 messages, 2 authors, 2016-06-15

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

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:47:46

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help