From: Junio C Hamano Date: Mon, 31 Mar 2014 20:50:43 GMT Subject: Re: socket_perror() "bug"? Message-ID: In-Reply-To: Thiago Farina writes: > In imap-send.c:socket_perror() we pass |func| as a parameter, which I > think it is the name of the function that "called" socket_perror, or > the name of the function which generated an error. > > But at line 184 and 187 it always assume it was SSL_connect. > > Should we instead call perror() and ssl_socket_error() with func? Looks that way to me, at least from a cursory look.