From: Junio C Hamano Date: Fri, 19 Oct 2012 21:21:59 GMT Subject: Re: Fix potential hang in https handshake (v3) Message-ID: <7vipa6i2dk.fsf@alter.siamese.dyndns.org> In-Reply-To: <20121019210851.GD24184@sigill.intra.peff.net> Jeff King writes: >> + 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.