socket_perror() "bug"?
- From
Thiago Farina <tfransosi@gmail.com>
- Date
- Mar 30, 2014, 19:32 UTC
- Message-ID
- <CACnwZYc2py4dxehg2=gnnPLxwJaRqXYTLQvC1O7YuoqAWsZ0Tg@mail.gmail.com>
Hi,
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?
-- Thiago Farina