mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
fix crash on tls error
This commit is contained in:
parent
1e54b92220
commit
308400154b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue