Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Fix potential hang in https handshake (v3)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:04

Jeff King [off-list ref] writes:
quoted
+			if (max_fd < 0 &&
+			    select_timeout.tv_sec > 0 ||
+			    select_timeout.tv_usec > 50000) {
+				select_timeout.tv_sec  = 0;
+				select_timeout.tv_usec = 50000;
+			}
Should there be parentheses separating the || bit from the &&?
Yeah, I think there should be.  Thanks for sharp eyes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help