mirror of
https://github.com/moparisthebest/imapfilter
synced 2024-12-21 07:08:49 -05:00
Print a debug message on connection recovery.
This commit is contained in:
parent
14091fc7bf
commit
b67ae8209b
@ -159,6 +159,10 @@ request_login(session **ssnptr, const char *server, const char *port, const
|
||||
!strncasecmp(ssl, "ssl3", 4) ||
|
||||
!strncasecmp(ssl, "ssl2", 4)))
|
||||
ssn->ssl = ssl;
|
||||
} else {
|
||||
debug("recovering connection: %s://%s@%s:%s/%s\n", ssn->ssl ?
|
||||
"imaps" : "imap", ssn->username, ssn->server, ssn->port,
|
||||
ssn->selected ? ssn->selected : "");
|
||||
}
|
||||
|
||||
if (open_connection(ssn) == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user