mirror of
https://github.com/moparisthebest/imapfilter
synced 2024-08-13 16:53:51 -04:00
Avoid closing the connection twice
If there's a network problem the connection has been already closed in the relevant socket read/write functions.
This commit is contained in:
parent
f78ed3c3d7
commit
6a1771da04
@ -253,7 +253,6 @@ request_login(session **ssnptr, const char *server, const char *port, const
|
||||
|
||||
return r;
|
||||
fail:
|
||||
close_connection(ssn);
|
||||
session_destroy(ssn);
|
||||
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user