mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
fix crash on tls error
This commit is contained in:
parent
1e54b92220
commit
308400154b
@ -232,6 +232,7 @@ static void server_real_connect(SERVER_REC *server, IPADDR *ip,
|
||||
handle = net_start_ssl(server);
|
||||
if (handle == NULL) {
|
||||
net_sendbuffer_destroy(server->handle, TRUE);
|
||||
server->handle = NULL;
|
||||
} else {
|
||||
server->handle->handle = handle;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user